We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 028617b commit e13658eCopy full SHA for e13658e
DeprecationErrorHandler.php
@@ -308,7 +308,7 @@ public static function collectDeprecations($outputFile)
308
public static function getPhpUnitErrorHandler()
309
{
310
if (!isset(self::$isAtLeastPhpUnit83)) {
311
- self::$isAtLeastPhpUnit83 = class_exists(ErrorHandler::class) && method_exists(ErrorHandler::class, '__invoke');
+ self::$isAtLeastPhpUnit83 = class_exists('PHPUnit\Util\ErrorHandler') && method_exists('PHPUnit\Util\ErrorHandler', '__invoke');
312
}
313
if (!self::$isAtLeastPhpUnit83) {
314
return (class_exists('PHPUnit_Util_ErrorHandler', false) ? 'PHPUnit_Util_' : 'PHPUnit\Util\\').'ErrorHandler::handleError';
0 commit comments