From e3f14e5fb029ac19d8b4ba50ace67e16d592666c 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:53:23 +0200 Subject: [PATCH] bugfix: use `anyOf` over `oneOf` when comparing JSON schema of `.laminas-ci.schema.json` 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/laminas-ci.schema.json b/laminas-ci.schema.json index 0a693e19..142b07cf 100644 --- a/laminas-ci.schema.json +++ b/laminas-ci.schema.json @@ -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" @@ -165,6 +166,7 @@ "additionalProperties": false }, { + "description": "Additional checks cannot be used in combination with checks", "properties": { "extensions": { "$ref": "#/definitions/extensions"