-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to PHP-Parser 5 #220
Comments
Note that setting the Maybe consider PR #221 |
How will that help, given that phpstan itself requires nikic/php-parser 4? |
Hello @JanTvrdik , thanks for considering my issue. Nope PhpStan does not requires nikic/php-parser 4 https://github.com/phpstan/phpstan/blob/1.10.x/composer.json And phpstan-struct-rules only require it as a dev dependency https://github.com/phpstan/phpstan-strict-rules/blob/1.6.x/composer.json |
I'll remove the dependency, it does not make sense to have it there as it wont be used at all. Thanks for the report. |
Recent phpunit/phpunit:^11, released on February 2, 2024, requires nikic/php-parser ^5.0.
However,
phpstan-rules:2.11.12
requiresnikic/php-parser": "^4.14.0
.Upgrading PHPUnit is therefore blocked by phpstan-rules.
PHPUnit looks to me a popular quality tool to run alongside PHPStan, therefore phpstan-rules should consider updating.
The text was updated successfully, but these errors were encountered: