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
Strict comparison using === between *NEVER* and 'TB' will always evaluate to false. #5062
Comments
This bug report is missing a link to reproduction on phpstan.org. It will most likely be closed after manual review. |
Duplicate of #3555 |
@ondrejmirtes as this issue is about a case where phpstan infers the constant union, maybe it should keep it as |
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. |
I managed to solve this.
Look forward to the next release (0.12.95) :) |
Bug report
I receive following errors:
Running version 0.12.88 with Level 4+.
Reproduction URL: https://phpstan.org/r/bc0bf93c-2d11-40d9-b050-70dd3494b115
Code snippet that reproduces the problem
Expected output
No errors
The text was updated successfully, but these errors were encountered: