From 91ff19ebdaf548459acdd72d016a4b201946b7ac Mon Sep 17 00:00:00 2001 From: jrfnl <jrfnl@users.noreply.github.com> Date: Sun, 30 Jan 2022 17:26:05 +0100 Subject: [PATCH] Composer: tweak PHPCS version constraint Some of the early PHPCS 3.x versions did not support external standards correctly, so using this plugin with those would always run into trouble, so let's just make it explicit that `3.0.0`, `3.0.1` and `3.0.2` are not supported. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e033dd34..b4fdd37e 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "require": { "php": ">=5.3", "composer-plugin-api": "^1.0 || ^2.0", - "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0" + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" }, "require-dev": { "composer/composer": "*",