Skip to content

Commit dfe140a

Browse files
Merge branch '4.3' into 4.4
* 4.3: [4.3] Cleanup tests Cleanup tests [Finder] Prevent unintentional file locks in Windows [FrameworkBundle] Fix about command not showing .env vars [DomCrawler] Fix FileFormField PHPDoc [Mailer] Remove the default dispatcher in AbstractTransport Fix #33395 PHP 5.3 compatibility
2 parents f6820d9 + 17c6e70 commit dfe140a

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
@@ -319,7 +319,7 @@ private function displayDeprecations($groups, $configuration)
319319
private static function getPhpUnitErrorHandler()
320320
{
321321
if (!isset(self::$isAtLeastPhpUnit83)) {
322-
self::$isAtLeastPhpUnit83 = class_exists(ErrorHandler::class) && method_exists(ErrorHandler::class, '__invoke');
322+
self::$isAtLeastPhpUnit83 = class_exists('PHPUnit\Util\ErrorHandler') && method_exists('PHPUnit\Util\ErrorHandler', '__invoke');
323323
}
324324
if (!self::$isAtLeastPhpUnit83) {
325325
return 'PHPUnit\Util\ErrorHandler::handleError';

0 commit comments

Comments
 (0)