Skip to content

Commit 7b547de

Browse files
committed
[TASK] Fix php-cs-fixer issues
Used command(s): ```shell Build/Scripts/runTests.sh -s cgl ```
1 parent 70c267b commit 7b547de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Classes/Core/BaseTestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ protected function tearDown(): void
5454
// Register a dummy error handler to retrieve *previous* one and unregister dummy again,
5555
// then verify previous is the phpunit error handler. This will mark the one test that
5656
// fails to unset/restore it's custom error handler as "risky".
57-
$previousErrorHandler = set_error_handler(function (int $errorNumber, string $errorString, string $errorFile, int $errorLine): bool {return false;});
57+
$previousErrorHandler = set_error_handler(function (int $errorNumber, string $errorString, string $errorFile, int $errorLine): bool {
58+
return false;
59+
});
5860
restore_error_handler();
5961
$phpUnitUseErrorHandler = $this->shouldErrorHandlerBeUsed();
6062
if (($phpUnitUseErrorHandler && !$previousErrorHandler instanceof ErrorHandler)

0 commit comments

Comments
 (0)