@@ -385,11 +385,6 @@ public function testBug4747(): void
385385 $ this ->analyse ([__DIR__ . '/data/bug-4747.php ' ], []);
386386 }
387387
388- public function testBug6379 (): void
389- {
390- $ this ->analyse ([__DIR__ . '/data/bug-6379.php ' ], []);
391- }
392-
393388 #[RequiresPhp('>= 8.0 ' )]
394389 public function testBug4885 (): void
395390 {
@@ -929,13 +924,6 @@ public function testBug4809(): void
929924 $ this ->analyse ([__DIR__ . '/data/bug-4809.php ' ], []);
930925 }
931926
932- public function testBug11602 (): void
933- {
934- $ this ->reportPossiblyNonexistentGeneralArrayOffset = true ;
935-
936- $ this ->analyse ([__DIR__ . '/data/bug-11602.php ' ], []);
937- }
938-
939927 public function testBug12593 (): void
940928 {
941929 $ this ->reportPossiblyNonexistentGeneralArrayOffset = true ;
@@ -1123,6 +1111,28 @@ public function testPR4385Bis(): void
11231111 $ this ->analyse ([__DIR__ . '/data/pr-4385-bis.php ' ], []);
11241112 }
11251113
1114+ public function testBug7143 (): void
1115+ {
1116+ $ this ->analyse ([__DIR__ . '/data/bug-7143.php ' ], [
1117+ [
1118+ "Offset 'foo' might not exist on non-empty-array{foo?: string, bar?: string}. " ,
1119+ 12 ,
1120+ ],
1121+ [
1122+ "Offset 'bar' might not exist on non-empty-array{foo?: string, bar?: string}. " ,
1123+ 13 ,
1124+ ],
1125+ [
1126+ "Offset 'foo' might not exist on non-empty-array{foo?: string, bar?: string, 1?: 1, 2?: 2, 3?: 3, 4?: 4, 5?: 5, 6?: 6, ...}. " ,
1127+ 21 ,
1128+ ],
1129+ [
1130+ "Offset 'bar' might not exist on non-empty-array{foo?: string, bar?: string, 1?: 1, 2?: 2, 3?: 3, 4?: 4, 5?: 5, 6?: 6, ...}. " ,
1131+ 22 ,
1132+ ],
1133+ ]);
1134+ }
1135+
11261136 public function testBug12805 (): void
11271137 {
11281138 $ this ->reportPossiblyNonexistentGeneralArrayOffset = true ;
0 commit comments