From 3ec2b59724993e7ee0f4a98e3bc8b0e5a032cfef Mon Sep 17 00:00:00 2001 From: Peter van der Wal Date: Tue, 23 Feb 2021 11:40:04 +0100 Subject: [PATCH] Limit ECS and PhpStan versions Newer versions causing errors: ECS >= 8.3: PHP Fatal error: Uncaught OutOfBoundsException: Package "symplify/easy-coding-standard" is not installed in phar:///home/youwe/Projects/webgriffe-esb/vendor/phpstan/phpstan/phpstan.phar/vendor/composer/InstalledVersions.php:1081 PhpStan >= 0.12.67: Ignored error pattern /Unable to resolve the template type .*? in call to function Amp\\call/ was not matched in reported errors. Ignored error pattern /Unable to resolve the template type .*? in instantiation of class Amp\\Producer/ was not matched in reported errors. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f4721fb..8ab1a28 100644 --- a/composer.json +++ b/composer.json @@ -56,8 +56,8 @@ "pda/pheanstalk": "^3.1", "mikey179/vfsstream": "^1.6", "amphp/artax": "^3.0", - "phpstan/phpstan": "^0.12", - "symplify/easy-coding-standard-prefixed": "^8.1" + "phpstan/phpstan": "^0.12 <=0.12.66", + "symplify/easy-coding-standard-prefixed": "^8.1 <8.3" }, "scripts": { "phpcs": "phpcs",