Passed
Push — main ( 14c4a2...135030 )
by Siad
05:24
created
src/Phing/Listener/DefaultLogger.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
     public static function formatTime(float $seconds): string
335 335
     {
336 336
         /** @var int|float $number */
337
-        $getPlural = function ($number): string {
337
+        $getPlural = function($number): string {
338 338
             return $number == 1 ? '' : 's';
339 339
         };
340 340
         $chunks    = [];
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
                 $chunks[] = intdiv($seconds, self::A_DAY);
347 347
                 $chunks[] = $getPlural(end($chunks));
348 348
                 $seconds  = fmod($seconds, self::A_DAY);
349
-                $format   .= '%u day%s  ';
349
+                $format .= '%u day%s  ';
350 350
             // Hours
351 351
             case ($seconds >= self::AN_HOUR):
352 352
                 $chunks[] = intdiv($seconds, self::AN_HOUR);
@@ -358,13 +358,13 @@  discard block
 block discarded – undo
358 358
                 $chunks[]  = intdiv($seconds, self::A_MINUTE);
359 359
                 $chunks[]  = $getPlural(end($chunks));
360 360
                 $seconds   = fmod($seconds, self::A_MINUTE);
361
-                $format    .= '%u minute%s  ';
361
+                $format .= '%u minute%s  ';
362 362
                 $precision = 2;
363 363
             // Seconds
364 364
             default:
365 365
                 $chunks[] = $seconds;
366 366
                 $chunks[] = $getPlural(end($chunks));
367
-                $format   .= "%.{$precision}F second%s";
367
+                $format .= "%.{$precision}F second%s";
368 368
                 break;
369 369
         }
370 370
 
Please login to merge, or discard this patch.