Skip to content

Commit

Permalink
Use namespaced Phpunit classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse authored and nicolas-grekas committed Aug 5, 2019
1 parent 090881c commit 2724c44
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Tests/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ public function testSpecifications($expected, $yaml, $comment, $deprecated)
if (E_USER_DEPRECATED !== $type) {
restore_error_handler();

if (class_exists('PHPUnit_Util_ErrorHandler')) {
return \call_user_func_array('PHPUnit_Util_ErrorHandler::handleError', \func_get_args());
}

return \call_user_func_array('PHPUnit\Util\ErrorHandler::handleError', \func_get_args());
}

Expand Down

0 comments on commit 2724c44

Please sign in to comment.