From bdf447ef6d60cb3f09dc577968080569d72622eb Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Sat, 28 Feb 2026 17:32:15 +0100 Subject: [PATCH] Add non regression test --- tests/PHPStan/Analyser/nsrt/pr-5108.php | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tests/PHPStan/Analyser/nsrt/pr-5108.php 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); + } +}