@@ -2332,4 +2332,40 @@ public function testReadOnlyPropertyPassedByReference(): void
23322332 ]);
23332333 }
23342334
2335+ public function testBug6055 (): void
2336+ {
2337+ $ this ->checkThisOnly = false ;
2338+ $ this ->checkNullables = true ;
2339+ $ this ->checkUnionTypes = true ;
2340+ $ this ->checkExplicitMixed = true ;
2341+ $ this ->analyse ([__DIR__ . '/data/bug-6055.php ' ], []);
2342+ }
2343+
2344+ public function testBug6081 (): void
2345+ {
2346+ $ this ->checkThisOnly = false ;
2347+ $ this ->checkNullables = true ;
2348+ $ this ->checkUnionTypes = true ;
2349+ $ this ->checkExplicitMixed = true ;
2350+ $ this ->analyse ([__DIR__ . '/data/bug-6081.php ' ], []);
2351+ }
2352+
2353+ public function testBug6236 (): void
2354+ {
2355+ $ this ->checkThisOnly = false ;
2356+ $ this ->checkNullables = true ;
2357+ $ this ->checkUnionTypes = true ;
2358+ $ this ->checkExplicitMixed = true ;
2359+ $ this ->analyse ([__DIR__ . '/data/bug-6236.php ' ], []);
2360+ }
2361+
2362+ public function testBug6118 (): void
2363+ {
2364+ $ this ->checkThisOnly = false ;
2365+ $ this ->checkNullables = true ;
2366+ $ this ->checkUnionTypes = true ;
2367+ $ this ->checkExplicitMixed = true ;
2368+ $ this ->analyse ([__DIR__ . '/data/bug-6118.php ' ], []);
2369+ }
2370+
23352371}
0 commit comments