Php-cs-fixer Changes

Its latest update added some new stringencies, resulting in 62 messages. Used `composer fix` to take care of them.
This commit is contained in:
oleibman
2024-02-01 11:26:22 -08:00
parent d93c07bf67
commit 84cc3b560f
63 changed files with 118 additions and 118 deletions
+2 -2
View File
@@ -25,13 +25,13 @@ function phpunit10ErrorHandler(int $errno, string $errstr, string $filename, int
return true; // message suppressed - stop error handling
}
throw new \Exception("$errstr $filename $lineno");
throw new Exception("$errstr $filename $lineno");
}
return false; // continue error handling
}
if (!method_exists(\PHPUnit\Framework\TestCase::class, 'setOutputCallback')) {
if (!method_exists(PHPUnit\Framework\TestCase::class, 'setOutputCallback')) {
ini_set('error_reporting', (string) E_ALL);
set_error_handler('phpunit10ErrorHandler');
}