Skip to content

Commit

Permalink
Merge pull request #65 from boesing/bugfix/additional_composer_argume…
Browse files Browse the repository at this point in the history
…nts-json-schema-definition

Add new `additional_composer_arguments` to JSON schema
  • Loading branch information
boesing authored Oct 10, 2021
2 parents 7c2b382 + f8bc376 commit 2bf7850
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions laminas-ci.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"8.0": true,
"7.4": false
},
"stablePHP": "8.0"
"stablePHP": "8.0",
"additional_composer_arguments": []
},
{
"extensions": [
Expand All @@ -58,7 +59,8 @@
"8.0": true,
"7.4": false
},
"stablePHP": "8.0"
"stablePHP": "8.0",
"additional_composer_arguments": []
}
],
"title": "Laminas CI configuration schema",
Expand Down Expand Up @@ -155,6 +157,9 @@
},
"additionalProperties": false
}
},
"additional_composer_arguments": {
"$ref": "#/definitions/additional_composer_arguments"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -224,6 +229,9 @@
},
"additionalProperties": false
}
},
"additional_composer_arguments": {
"$ref": "#/definitions/additional_composer_arguments"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -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"
}
}
}
}

0 comments on commit 2bf7850

Please sign in to comment.