-
-
Notifications
You must be signed in to change notification settings - Fork 20
with latest phpstan version, issue with get_terms() definition #287
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
Comments
You could stop using bleeding edge, or disable that feature. https://github.com/phpstan/phpstan-src/blob/2.1.x/conf/bleedingEdge.neon#L8 |
Thanks for your reply! Adding
to my phpstan config did the trick. May I ask you the rational behind the phpdoc comment
I may be wrong, but it doesn't sound to fit into |
John will fix it in core. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
The latest PHPStan release seems to check
@internal
phpdoc comments.get_terms()
has such a comment, meant to address a parameter.I believe it should be removed, since it makes phpstan to fail as soon as the function is used, with the following error:
The text was updated successfully, but these errors were encountered: