Skip to content

Commit

Permalink
bugfix: use anyOf over oneOf when comparing JSON schema of `.lami…
Browse files Browse the repository at this point in the history
…nas-ci.schema.json`

Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Oct 10, 2021
1 parent 2bf7850 commit e3f14e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion laminas-ci.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@
],
"title": "Laminas CI configuration schema",
"type": "object",
"oneOf": [
"anyOf": [
{
"description": "Checks cannot be used in combination with additional checks",
"properties": {
"extensions": {
"$ref": "#/definitions/extensions"
Expand Down Expand Up @@ -165,6 +166,7 @@
"additionalProperties": false
},
{
"description": "Additional checks cannot be used in combination with checks",
"properties": {
"extensions": {
"$ref": "#/definitions/extensions"
Expand Down

0 comments on commit e3f14e5

Please sign in to comment.