We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have false positives when using isset($a, $b) instead of isset($a) && issert($b)
isset($a, $b)
isset($a) && issert($b)
https://phpstan.org/r/05e9a31c-a556-4e4e-b3d0-0d66e43878f3
No errors.
If you try this instead, you can see there are no errors indeed, while the two snippets should behave the same way.
PHPStan is awesome, and I hope to give my little contribution to it with this issue report
The text was updated successfully, but these errors were encountered:
Fixed: phpstan/phpstan-src#2709
Sorry, something went wrong.
Fixed: phpstan/phpstan-src#2710
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.
No branches or pull requests
Bug report
I have false positives when using
isset($a, $b)
instead ofisset($a) && issert($b)
Code snippet that reproduces the problem
https://phpstan.org/r/05e9a31c-a556-4e4e-b3d0-0d66e43878f3
Expected output
No errors.
If you try this instead, you can see there are no errors indeed, while the two snippets should behave the same way.
Did PHPStan help you today? Did it make you happy in any way?
PHPStan is awesome, and I hope to give my little contribution to it with this issue report
The text was updated successfully, but these errors were encountered: