Skip to content

Commit 6cc75e5

Browse files
Remove unused code and unnecessary else branches
1 parent 46827fe commit 6cc75e5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: DeprecationErrorHandler/Deprecation.php

-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ public function __construct(string $message, array $trace, string $file, bool $l
149149
if (($test instanceof TestCase || $test instanceof TestSuite) && ('trigger_error' !== $trace[$i - 2]['function'] || isset($trace[$i - 2]['class']))) {
150150
$this->originClass = \get_class($test);
151151
$this->originMethod = $test->getName();
152-
153-
return;
154152
}
155153
}
156154

0 commit comments

Comments
 (0)