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
Phpstan says the !== '' is useless but it is not, the string can be empty https://3v4l.org/3EtlO
!== ''
https://phpstan.org/r/109cdd5b-38e1-4270-80c5-14958f8ac606
The text was updated successfully, but these errors were encountered:
/cc @staabm this is wrong: https://phpstan.org/r/263d49fd-8edf-4826-a20d-3a404cd3fb64
Most likely the cause is the $context not being checked for ->true() or ->false().
$context
->true()
->false()
Sorry, something went wrong.
Will look into it, after my holiday (will take a week)
Enjoy your vacation, I'll take a quick look too later.
Fixed: phpstan/phpstan-src#1275
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.
Successfully merging a pull request may close this issue.
Bug report
Phpstan says the
!== ''
is useless but it is not, the string can be empty https://3v4l.org/3EtlOCode snippet that reproduces the problem
https://phpstan.org/r/109cdd5b-38e1-4270-80c5-14958f8ac606
The text was updated successfully, but these errors were encountered: