Passed
Pull Request — master (#195)
by Théo
04:54 queued 02:19
created
src/Console/Command/Compile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'))) {
Please login to merge, or discard this patch.
src/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.