@@ -1344,4 +1344,62 @@ public function testBug14893(): void
13441344 $ this ->analyse ([__DIR__ . '/data/bug-14893.php ' ], []);
13451345 }
13461346
1347+ public function testBug12704 (): void
1348+ {
1349+ $ this ->checkExplicitMixed = true ;
1350+ $ this ->analyse ([__DIR__ . '/data/bug-12704.php ' ], []);
1351+ }
1352+
1353+ public function testBug12576 (): void
1354+ {
1355+ $ this ->checkExplicitMixed = true ;
1356+ $ this ->analyse ([__DIR__ . '/data/bug-12576.php ' ], []);
1357+ }
1358+
1359+ #[RequiresPhp('>= 8.1.0 ' )]
1360+ public function testBug14647 (): void
1361+ {
1362+ $ this ->checkExplicitMixed = true ;
1363+ $ this ->analyse ([__DIR__ . '/data/bug-14647.php ' ], []);
1364+ }
1365+
1366+ public function testBug12601 (): void
1367+ {
1368+ $ this ->checkExplicitMixed = true ;
1369+ $ this ->analyse ([__DIR__ . '/data/bug-12601.php ' ], []);
1370+ }
1371+
1372+ public function testBug12490 (): void
1373+ {
1374+ $ this ->analyse ([__DIR__ . '/data/bug-12490.php ' ], []);
1375+ }
1376+
1377+ #[RequiresPhp('>= 8.1.0 ' )]
1378+ public function testBug12420 (): void
1379+ {
1380+ $ this ->checkExplicitMixed = true ;
1381+ $ this ->analyse ([__DIR__ . '/data/bug-12420.php ' ], [
1382+ [
1383+ 'Method Bug12420\Test::testFailingArray() should return array< \'bar \'| \'foo \'> but returns array{ \'foo \', \'bar \', \'wrong \'}. ' ,
1384+ 66 ,
1385+ ],
1386+ ]);
1387+ }
1388+
1389+ public function testBug11835 (): void
1390+ {
1391+ $ this ->checkExplicitMixed = true ;
1392+ $ this ->analyse ([__DIR__ . '/data/bug-11835.php ' ], []);
1393+ }
1394+
1395+ public function testBug11435 (): void
1396+ {
1397+ $ this ->analyse ([__DIR__ . '/data/bug-11435.php ' ], []);
1398+ }
1399+
1400+ public function testBug10289 (): void
1401+ {
1402+ $ this ->analyse ([__DIR__ . '/data/bug-10289.php ' ], []);
1403+ }
1404+
13471405}
0 commit comments