Passed
Push — master ( 4e89cd...0be633 )
by Théo
04:00
created
src/Console/Command/Compile.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
             'Registering compactors'
371 371
         );
372 372
 
373
-        $logCompactors = function (Compactor $compactor) use ($logger): void {
373
+        $logCompactors = function(Compactor $compactor) use ($logger): void {
374 374
             $compactorClassParts = explode('\\', get_class($compactor));
375 375
 
376 376
             if ('_HumbugBox' === substr($compactorClassParts[0], 0, strlen('_HumbugBox'))) {
@@ -609,7 +609,7 @@  discard block
 block discarded – undo
609 609
      */
610 610
     private function bumpOpenFileDescriptorLimit(Box $box, SymfonyStyle $io): callable
611 611
     {
612
-        $filesCount = count($box) + 128;  // Add a little extra for good measure
612
+        $filesCount = count($box) + 128; // Add a little extra for good measure
613 613
 
614 614
         if (function_exists('posix_getrlimit') && function_exists('posix_setrlimit')) {
615 615
             $softLimit = posix_getrlimit()['soft openfiles'];
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
             );
643 643
         }
644 644
 
645
-        return function () use ($io, $softLimit, $hardLimit): void {
645
+        return function() use ($io, $softLimit, $hardLimit): void {
646 646
             if (function_exists('posix_setrlimit') && isset($softLimit, $hardLimit)) {
647 647
                 posix_setrlimit(
648 648
                     POSIX_RLIMIT_NOFILE,
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
         $io->comment(
828 828
             sprintf(
829 829
                 'PHAR: %s (%s)',
830
-                $box->count() > 1 ? $box->count() . ' files' : $box->count() . ' file',
830
+                $box->count() > 1 ? $box->count().' files' : $box->count().' file',
831 831
                 formatted_filesize($path)
832 832
             )
833 833
             .PHP_EOL
Please login to merge, or discard this patch.