From f8bc376bea20cd10bed716800c197a8f5ff42b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20B=C3=B6sing?= <2189546+boesing@users.noreply.github.com> Date: Mon, 11 Oct 2021 00:38:08 +0200 Subject: [PATCH] bugfix: add new `additional_composer_arguments` to JSON schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com> --- laminas-ci.schema.json | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/laminas-ci.schema.json b/laminas-ci.schema.json index 846cb01d..0a693e19 100644 --- a/laminas-ci.schema.json +++ b/laminas-ci.schema.json @@ -31,7 +31,8 @@ "8.0": true, "7.4": false }, - "stablePHP": "8.0" + "stablePHP": "8.0", + "additional_composer_arguments": [] }, { "extensions": [ @@ -58,7 +59,8 @@ "8.0": true, "7.4": false }, - "stablePHP": "8.0" + "stablePHP": "8.0", + "additional_composer_arguments": [] } ], "title": "Laminas CI configuration schema", @@ -155,6 +157,9 @@ }, "additionalProperties": false } + }, + "additional_composer_arguments": { + "$ref": "#/definitions/additional_composer_arguments" } }, "additionalProperties": false @@ -224,6 +229,9 @@ }, "additionalProperties": false } + }, + "additional_composer_arguments": { + "$ref": "#/definitions/additional_composer_arguments" } }, "additionalProperties": false @@ -369,6 +377,23 @@ } }, "additionalProperties": false + }, + "additional_composer_arguments": { + "type": "array", + "title": "A list of composer arguments", + "description": "A list of required composer arguments which will be added to `composer install` and `composer update` commands.", + "examples": [ + [ + "--no-scripts", + "--no-plugins" + ] + ], + "items": { + "type": "string", + "minLength": 1, + "title": "An composer argument", + "description": "Can be either an argument or contain all arguments" + } } } }