Closed mundschenk-at closed 1 year ago
Not sure if that was a change with recent PHPStan versions or always incorrect, but these only work when I follow the syntax example from https://phpstan.org/writing-php-code/solving-undefined-variables
A surprise PR! Thank you @mundschenk-at!
Could you add a test that fails without this PR?
@dingo-d started it 3 years ago.
I did? 😅
Thank you @mundschenk-at
Not sure if that was a change with recent PHPStan versions or always incorrect, but these only work when I follow the syntax example from https://phpstan.org/writing-php-code/solving-undefined-variables