diff --git a/tests/PHPStan/Analyser/nsrt/pr-5108.php b/tests/PHPStan/Analyser/nsrt/pr-5108.php new file mode 100644 index 0000000000..e79417b618 --- /dev/null +++ b/tests/PHPStan/Analyser/nsrt/pr-5108.php @@ -0,0 +1,43 @@ +getFoo(); + assertType('*ERROR*', $d); + Testing::testMethod($d); + assertType('Pr5108\A', $d); + } +}