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 781e528 commit 31ea32fCopy full SHA for 31ea32f
tests/PHPStan/Analyser/AnalyserIntegrationTest.php
@@ -184,7 +184,6 @@ public function testClassExistsAutoloadingError(): void
184
185
public function testCollectWarnings(): void
186
{
187
- restore_error_handler();
188
$errors = $this->runAnalyse(__DIR__ . '/data/declaration-warning.php');
189
$this->assertCount(1, $errors);
190
$this->assertSame('Parameter #1 $i of method DeclarationWarning\Bar::doFoo() is not optional.', $errors[0]->getMessage());
0 commit comments