Skip to content

Commit

Permalink
Limit ECS and PhpStan versions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
youwe-petervanderwal committed Feb 23, 2021
1 parent 419f06e commit 56126f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 56126f1

Please sign in to comment.