We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6450452 commit 7abab1dCopy full SHA for 7abab1d
tests/PHPStan/Analyser/Bug13813IntegrationTest.php
@@ -23,6 +23,15 @@ public function testBug13813(): void
23
]);
24
$this->assertCount(2, $analyzerResult->getAllPhpErrors());
25
$this->assertCount(2, $analyzerResult->getFilteredPhpErrors());
26
+
27
+ $this->assertSame(
28
+ 'Warning: Undefined variable $x',
29
+ $analyzerResult->getAllPhpErrors()[0]->getMessage()
30
+ );
31
32
33
+ $analyzerResult->getAllPhpErrors()[1]->getMessage()
34
35
}
36
37
/**
0 commit comments