Skip to content

Commit 60c0cd9

Browse files
committed
Update NonexistentOffsetInArrayDimFetchRuleTest.php
1 parent 99957e0 commit 60c0cd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/PHPStan/Rules/Arrays/NonexistentOffsetInArrayDimFetchRuleTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,8 @@ public function testBug10492(): void
10091009

10101010
public function testBug12574a(): void
10111011
{
1012+
$this->reportPossiblyNonexistentGeneralArrayOffset = true;
1013+
10121014
$this->analyse([__DIR__ . '/data/bug-12574a.php'], []);
10131015
}
10141016

0 commit comments

Comments
 (0)