Skip to content

Commit f83a92d

Browse files
ondrejmirtesclaude
andcommitted
Add regression test for certainty of undefined variables in loops
Closes phpstan/phpstan#2032 Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent 8b577e9 commit f83a92d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎tests/PHPStan/Rules/Variables/DefinedVariableRuleTest.php‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1712,10 +1712,6 @@ public function testBug2032(): void
17121712
'Undefined variable: $undefined',
17131713
6,
17141714
],
1715-
[
1716-
'Undefined variable: $undefined',
1717-
9,
1718-
],
17191715
[
17201716
'Undefined variable: $undefined',
17211717
15,

0 commit comments

Comments
 (0)