From deea10ab04ae9275845ecd95a4d86719a99bd70f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BCrk?= Date: Tue, 10 Feb 2026 00:39:54 +0100 Subject: [PATCH] [TASK] Fix php-cs-fixer issues Used command(s): ```shell Build/Scripts/runTests.sh -s cgl ``` --- Classes/Core/BaseTestCase.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Classes/Core/BaseTestCase.php b/Classes/Core/BaseTestCase.php index 8f020559..16018fcf 100644 --- a/Classes/Core/BaseTestCase.php +++ b/Classes/Core/BaseTestCase.php @@ -53,7 +53,9 @@ protected function tearDown(): void // Register a dummy error handler to retrieve *previous* one and unregister dummy again, // then verify previous is the phpunit error handler. This will mark the one test that // fails to unset/restore it's custom error handler as "risky". - $previousErrorHandler = set_error_handler(function (int $errorNumber, string $errorString, string $errorFile, int $errorLine): bool {return false;}); + $previousErrorHandler = set_error_handler(function (int $errorNumber, string $errorString, string $errorFile, int $errorLine): bool { + return false; + }); restore_error_handler(); $phpUnitUseErrorHandler = $this->shouldErrorHandlerBeUsed(); if (($phpUnitUseErrorHandler && !$previousErrorHandler instanceof ErrorHandler)