mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-30 03:59:11 +00:00
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:
+2
-2
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user