Skip to content

Commit 31ea32f

Browse files
committed
Fix test
1 parent 781e528 commit 31ea32f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/PHPStan/Analyser/AnalyserIntegrationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ public function testClassExistsAutoloadingError(): void
184184

185185
public function testCollectWarnings(): void
186186
{
187-
restore_error_handler();
188187
$errors = $this->runAnalyse(__DIR__ . '/data/declaration-warning.php');
189188
$this->assertCount(1, $errors);
190189
$this->assertSame('Parameter #1 $i of method DeclarationWarning\Bar::doFoo() is not optional.', $errors[0]->getMessage());

0 commit comments

Comments
 (0)