From ea931df77d03471cb7bc5e532e14cdf0350800f4 Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Fri, 19 Jul 2024 20:41:33 +0100 Subject: [PATCH] Update schema for php-ext section to add needs-value flag (#12050) Reference: https://github.com/ThePHPF/pie-design/pull/18 --- res/composer-schema.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/res/composer-schema.json b/res/composer-schema.json index 90714875c..0f06cc542 100644 --- a/res/composer-schema.json +++ b/res/composer-schema.json @@ -324,6 +324,12 @@ "example": "without-xdebug-compression", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$" }, + "needs-value": { + "type": "boolean", + "description": "If this is set to true, the flag needs a value (e.g. --with-somelib=), otherwise it is a flag without a value (e.g. --enable-some-feature).", + "example": false, + "default": false + }, "description": { "type": "string", "description": "The description of what the flag does or means.",