diff --git a/tests/PHPStan/Analyser/nsrt/bug-11488.php b/tests/PHPStan/Analyser/nsrt/bug-11488.php new file mode 100644 index 0000000000..2bbe2f5390 --- /dev/null +++ b/tests/PHPStan/Analyser/nsrt/bug-11488.php @@ -0,0 +1,90 @@ +analyse([__DIR__ . '/data/bug-11488.php'], []); + } + public function testBug13921(): void { $this->analyse([__DIR__ . '/data/bug-13921.php'], [ diff --git a/tests/PHPStan/Rules/Variables/data/bug-11488.php b/tests/PHPStan/Rules/Variables/data/bug-11488.php new file mode 100644 index 0000000000..2e0086b71b --- /dev/null +++ b/tests/PHPStan/Rules/Variables/data/bug-11488.php @@ -0,0 +1,19 @@ +