Skip to content
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

Open
kfrohwein opened this issue Dec 19, 2024 · 0 comments
Open

Comments

@kfrohwein
Copy link

$constExprParser = new ConstExprParser();

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant