Skip to content

Commit 17c6e70

Browse files
Merge branch '3.4' into 4.3
* 3.4: Cleanup tests [Finder] Prevent unintentional file locks in Windows [DomCrawler] Fix FileFormField PHPDoc Fix #33395 PHP 5.3 compatibility
2 parents 3b1ab2e + e13658e commit 17c6e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DeprecationErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private function displayDeprecations($groups, $configuration)
322322
private static function getPhpUnitErrorHandler()
323323
{
324324
if (!isset(self::$isAtLeastPhpUnit83)) {
325-
self::$isAtLeastPhpUnit83 = class_exists(ErrorHandler::class) && method_exists(ErrorHandler::class, '__invoke');
325+
self::$isAtLeastPhpUnit83 = class_exists('PHPUnit\Util\ErrorHandler') && method_exists('PHPUnit\Util\ErrorHandler', '__invoke');
326326
}
327327
if (!self::$isAtLeastPhpUnit83) {
328328
return (class_exists('PHPUnit_Util_ErrorHandler', false) ? 'PHPUnit_Util_' : 'PHPUnit\Util\\').'ErrorHandler::handleError';

0 commit comments

Comments
 (0)