Skip to content

Commit 2bf7850

Browse files
authored
Merge pull request #65 from boesing/bugfix/additional_composer_arguments-json-schema-definition
Add new `additional_composer_arguments` to JSON schema
2 parents 7c2b382 + f8bc376 commit 2bf7850

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

laminas-ci.schema.json

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"8.0": true,
3232
"7.4": false
3333
},
34-
"stablePHP": "8.0"
34+
"stablePHP": "8.0",
35+
"additional_composer_arguments": []
3536
},
3637
{
3738
"extensions": [
@@ -58,7 +59,8 @@
5859
"8.0": true,
5960
"7.4": false
6061
},
61-
"stablePHP": "8.0"
62+
"stablePHP": "8.0",
63+
"additional_composer_arguments": []
6264
}
6365
],
6466
"title": "Laminas CI configuration schema",
@@ -155,6 +157,9 @@
155157
},
156158
"additionalProperties": false
157159
}
160+
},
161+
"additional_composer_arguments": {
162+
"$ref": "#/definitions/additional_composer_arguments"
158163
}
159164
},
160165
"additionalProperties": false
@@ -224,6 +229,9 @@
224229
},
225230
"additionalProperties": false
226231
}
232+
},
233+
"additional_composer_arguments": {
234+
"$ref": "#/definitions/additional_composer_arguments"
227235
}
228236
},
229237
"additionalProperties": false
@@ -369,6 +377,23 @@
369377
}
370378
},
371379
"additionalProperties": false
380+
},
381+
"additional_composer_arguments": {
382+
"type": "array",
383+
"title": "A list of composer arguments",
384+
"description": "A list of required composer arguments which will be added to `composer install` and `composer update` commands.",
385+
"examples": [
386+
[
387+
"--no-scripts",
388+
"--no-plugins"
389+
]
390+
],
391+
"items": {
392+
"type": "string",
393+
"minLength": 1,
394+
"title": "An composer argument",
395+
"description": "Can be either an argument or contain all arguments"
396+
}
372397
}
373398
}
374399
}

0 commit comments

Comments
 (0)