-
Notifications
You must be signed in to change notification settings - Fork 545
De-duplicate phpstan.php errors #4560
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
Conversation
|
This pull request has been marked as ready for review. |
|
Thank you! |
|
Hey, I merged this too soon, there are some problems including CS and failing tests :) |
|
Hey, cs fix is here - the test errors seem pre-existing/unrelated to this PR. |
|
What should happen when there are two identical errors on the same line? |
|
This PR affects only runtime php warnings/errors, which are not very likely to happen at all while running static analysis. It does not affect regular phpstan errors. I think its fine that we have each runtime warning/error only once per line, as such codes with multiple statements per line is also super rare. |
closes phpstan/phpstan#13813