Skip to content

Commit 0661ca7

Browse files
committed
Merge pull request #94 from krichprollsch/errorHandlerNamespace
bad namespace for PHPUnit_Util_ErrorHandler
2 parents 65d2b02 + 1422c1d commit 0661ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ErrorHandler/DeprecationErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function register()
4242
);
4343
$deprecationHandler = function ($type, $msg, $file, $line, $context) use (&$deprecations) {
4444
if (E_USER_DEPRECATED !== $type) {
45-
return PHPUnit_Util_ErrorHandler::handleError($type, $msg, $file, $line, $context);
45+
return \PHPUnit_Util_ErrorHandler::handleError($type, $msg, $file, $line, $context);
4646
}
4747

4848
$trace = debug_backtrace(PHP_VERSION_ID >= 50400 ? DEBUG_BACKTRACE_IGNORE_ARGS | DEBUG_BACKTRACE_PROVIDE_OBJECT : true);

0 commit comments

Comments
 (0)