@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | private static function checkPhpSettings(SymfonyStyle $io, OutputInterface $output): void |
207 | 207 | { |
208 | 208 | if (function_exists('ini_set')) { |
209 | - $memoryInBytes = function (string $value): int { |
|
209 | + $memoryInBytes = function(string $value): int { |
|
210 | 210 | $unit = strtolower($value[strlen($value) - 1]); |
211 | 211 | |
212 | 212 | $value = (int) $value; |
@@ -390,7 +390,7 @@ discard block |
||
390 | 390 | 'Registering compactors' |
391 | 391 | ); |
392 | 392 | |
393 | - $logCompactors = function (Compactor $compactor) use ($logger): void { |
|
393 | + $logCompactors = function(Compactor $compactor) use ($logger): void { |
|
394 | 394 | $compactorClassParts = explode('\\', get_class($compactor)); |
395 | 395 | |
396 | 396 | if ('_HumbugBox' === substr($compactorClassParts[0], 0, strlen('_HumbugBox'))) { |
@@ -16,13 +16,13 @@ |
||
16 | 16 | |
17 | 17 | use ErrorException; |
18 | 18 | |
19 | -($GLOBALS['_BOX_BOOTSTRAP'] = function (): void { |
|
19 | +($GLOBALS['_BOX_BOOTSTRAP'] = function(): void { |
|
20 | 20 | \KevinGH\Box\register_aliases(); |
21 | 21 | })(); |
22 | 22 | |
23 | 23 | // Convert errors to exceptions |
24 | 24 | set_error_handler( |
25 | - function (int $code, string $message, string $file = '', int $line = -1): void { |
|
25 | + function(int $code, string $message, string $file = '', int $line = -1): void { |
|
26 | 26 | if (error_reporting() & $code) { |
27 | 27 | throw new ErrorException($message, 0, $code, (string) $file, $line); |
28 | 28 | } |