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
False positive for strict rules with nested ifelse
#4793
Labels
Comments
Linking with #3555 |
OMG, what a name for the other issue, I only briefly looked if this is already reported, @ondrejmirtes feel free to close this as duplicate. |
I managed to solve this.
Look forward to the next release (0.12.95) :) |
ondrejmirtes
added a commit
to phpstan/phpstan-src
that referenced
this issue
Aug 31, 2021
Ref phpstan/phpstan#4793 Ref phpstan/phpstan#5062 Ref phpstan/phpstan#5447 Ref phpstan/phpstan#5454 Ref phpstan/phpstan#3366 Ref phpstan/phpstan#5072 Ref phpstan/phpstan#3530 Ref phpstan/phpstan#5530 Ref phpstan/phpstan#1861 Ref phpstan/phpstan#4843 Ref phpstan/phpstan#4602 Ref phpstan/phpstan#4499 Ref phpstan/phpstan#2142
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
When there is too many
elseif
in some there are some false positives.Code snippet that reproduces the problem
https://phpstan.org/r/e5986c54-a145-41e2-9f31-8e7e3fc730cb
Expected output
No error
The text was updated successfully, but these errors were encountered: