Skip to content

Commit 2724c44

Browse files
jderussenicolas-grekas
authored andcommitted
Use namespaced Phpunit classes
1 parent 090881c commit 2724c44

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Tests/ParserTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ public function testSpecifications($expected, $yaml, $comment, $deprecated)
4545
if (E_USER_DEPRECATED !== $type) {
4646
restore_error_handler();
4747

48-
if (class_exists('PHPUnit_Util_ErrorHandler')) {
49-
return \call_user_func_array('PHPUnit_Util_ErrorHandler::handleError', \func_get_args());
50-
}
51-
5248
return \call_user_func_array('PHPUnit\Util\ErrorHandler::handleError', \func_get_args());
5349
}
5450

0 commit comments

Comments
 (0)