Skip to content

Commit 6f6657c

Browse files
committed
Update NonexistentOffsetInArrayDimFetchRuleTest.php
1 parent 7657b50 commit 6f6657c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/PHPStan/Rules/Arrays/NonexistentOffsetInArrayDimFetchRuleTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,13 @@ public function testBug12574a(): void
10141014
$this->analyse([__DIR__ . '/data/bug-12574a.php'], []);
10151015
}
10161016

1017+
public function testBug12574b(): void
1018+
{
1019+
$this->reportPossiblyNonexistentGeneralArrayOffset = true;
1020+
1021+
$this->analyse([__DIR__ . '/data/bug-12574b.php'], []);
1022+
}
1023+
10171024
public function testBug12926(): void
10181025
{
10191026
$this->reportPossiblyNonexistentGeneralArrayOffset = true;

0 commit comments

Comments
 (0)