From b6673612e0d27424a2e35d500776e89a10e4f806 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 29 Nov 2019 13:29:32 +0100 Subject: [PATCH] Allow dev-* versions in schema, refs #8262 --- res/composer-schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/composer-schema.json b/res/composer-schema.json index b4e9d65af..02477573f 100644 --- a/res/composer-schema.json +++ b/res/composer-schema.json @@ -41,7 +41,7 @@ "version": { "type": "string", "description": "Package version, see https://getcomposer.org/doc/04-schema.md#version for more info on valid schemes.", - "pattern": "^v?\\d+(((\\.\\d+)?\\.\\d+)?\\.\\d+)?" + "pattern": "^v?\\d+(((\\.\\d+)?\\.\\d+)?\\.\\d+)?|^dev-" }, "time": { "type": "string",