-
Notifications
You must be signed in to change notification settings - Fork 12
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
CommentingTrait is not working with phpstan/phpdoc-parser >= 1.18.1 #379
Comments
[SX-2190] Fix phpdoc-parser issue spryker#379
Thanks for the Patch! Please Spryker team update your trait! As this is a trait I cannot override it by injection on project level and we have to fork your module as dasann did! |
We did exclude basically all comment rules for now!
|
code-sniffer/Spryker/Traits/CommentingTrait.php
Line 40 in 55ae652
https://github.com/phpstan/phpdoc-parser/blob/22dcdfd725ddf99583bfe398fc624ad6c5004a0f/src/Parser/ConstExprParser.php#L31
From Version 1.18.1 they added a constructor parameter that you are missing.
Please add a constrain to your composer file.
And make an updated version with minimum constrain to we can update to the later packages of phpstan.
The text was updated successfully, but these errors were encountered: