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
Undefined variable reported in empty #30
Comments
Yep, supporting empty() is on the roadmap, I discussed it today with @mzk. |
JanTvrdik
changed the title
Undefined variable repoted in empty
Undefined variable reported in empty
Dec 13, 2016
In // $set may or may not be empty.
foreach($set as $index => &$row) {
}
unset($row); // Undefined variable. One solution I've seen is to put the |
I'll look into that. |
|
Support for |
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
PHPStan incorrectly reports „Undefined variable: $a“
The text was updated successfully, but these errors were encountered: