Skip to content

Commit dbd0357

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Classes/Core/BaseTestCase.php

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

0 commit comments

Comments
 (0)