phpstan / phpstan-strict-rules

Extra strict and opinionated rules for PHPStan
MIT License
592 stars 46 forks source link

checkDynamicProperties, setting variable in while loop condition gets reported as might not be defined #228

Closed Grldk closed 1 year ago

Grldk commented 1 year ago

https://phpstan.org/r/5b7e5295-ac7b-4604-b368-2dc5dd8c9890

Wouldn't $string always be defined in this scenario? Or am I missing something?

Grldk commented 1 year ago

Sorry, wrong tab, this probably should be in the regular phpstan repo, closing this

github-actions[bot] commented 11 months ago

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.