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
Cannot access property on string not reported in isset #6899
Comments
rajyan
added a commit
to rajyan/phpstan-src
that referenced
this issue
Apr 3, 2022
fixes phpstan/phpstan#6107 fixes phpstan/phpstan#5971 fixes phpstan/phpstan#6899
rajyan
added a commit
to rajyan/phpstan-src
that referenced
this issue
Apr 3, 2022
fixes phpstan/phpstan#6107 fixes phpstan/phpstan#5971 fixes phpstan/phpstan#6899
rajyan
added a commit
to rajyan/phpstan-src
that referenced
this issue
Apr 5, 2022
rajyan
added a commit
to rajyan/phpstan-src
that referenced
this issue
Apr 5, 2022
Fixed: phpstan/phpstan-src#1174 |
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
Maybe a feature request.
While null coalesce reports error for
Cannot access property $itsString on string.
, isset dosen't.Noticed while creating phpstan/phpstan-src#1104.
Code snippet that reproduces the problem
https://phpstan.org/r/d4626f91-d5b2-4cf8-8c9d-a4d07cf6b3c6
Expected output
in line 7 too.
Did PHPStan help you today? Did it make you happy in any way?
Yeah, it' helping me everyday. I could notice an error occurred after applying Rector auto fix by PHPStan today :).
The text was updated successfully, but these errors were encountered: