Completed
Push — master ( 85337f...00c842 )
by Alec
03:22
created
src/Tools/Benchmark.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         $this->silent = $silent ?? $this->silent;
69 69
 
70 70
         $this->iterationNumberGenerator =
71
-            static function (int $iterations, int $i = 1): \Generator {
71
+            static function(int $iterations, int $i = 1): \Generator {
72 72
                 while ($i <= $iterations) {
73 73
                     yield $i++;
74 74
                 }
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     {
102 102
         if ($iterations < self::MIN_ITERATIONS) {
103 103
             throw new \RuntimeException(
104
-                '[' . __CLASS__ . '] Number of Iterations should be greater than ' . self::MIN_ITERATIONS . '.'
104
+                '['.__CLASS__.'] Number of Iterations should be greater than '.self::MIN_ITERATIONS.'.'
105 105
             );
106 106
         }
107 107
     }
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
     protected function sectionSeparator(?string $char): string
154 154
     {
155
-        return str_repeat($char ?? static::DEFAULT_SEPARATOR_CHAR, self::DEFAULT_TERMINAL_WIDTH) . PHP_EOL. PHP_EOL;
155
+        return str_repeat($char ?? static::DEFAULT_SEPARATOR_CHAR, self::DEFAULT_TERMINAL_WIDTH).PHP_EOL.PHP_EOL;
156 156
     }
157 157
 
158 158
     /**
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
 
329 329
     protected function showComment(string $comment = ''): void
330 330
     {
331
-        echo $comment . PHP_EOL;
331
+        echo $comment.PHP_EOL;
332 332
     }
333 333
 
334 334
     /**
Please login to merge, or discard this patch.
src/Tools/BenchmarkSymfonyProgressBar.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,17 +38,17 @@  discard block
 block discarded – undo
38 38
         $this->progressBar->setFormat(static::DEFAULT_PROGRESSBAR_FORMAT);
39 39
 
40 40
         $progressStart =
41
-            function (): void {
41
+            function(): void {
42 42
                 $this->progressBar->start();
43 43
             };
44 44
 
45 45
         $progressAdvance =
46
-            function (): void {
46
+            function(): void {
47 47
                 $this->progressBar->advance();
48 48
             };
49 49
 
50 50
         $progressFinish =
51
-            function (): void {
51
+            function(): void {
52 52
                 $this->progressBar->finish();
53 53
                 $this->progressBar->clear();
54 54
             };
@@ -96,15 +96,15 @@  discard block
 block discarded – undo
96 96
 
97 97
     protected function showComment(string $comment = ''): void
98 98
     {
99
-        $this->output->writeln('<comment>' . $comment . '</>');
99
+        $this->output->writeln('<comment>'.$comment.'</>');
100 100
     }
101 101
 
102 102
     protected function sectionSeparator(?string $char): string
103 103
     {
104 104
         return
105
-            ' ' . str_repeat(
105
+            ' '.str_repeat(
106 106
                 $char ?? static::DEFAULT_SEPARATOR_CHAR,
107 107
                 $this->terminalWidth - 2
108
-            ) . ' ' . PHP_EOL . PHP_EOL;
108
+            ).' '.PHP_EOL.PHP_EOL;
109 109
     }
110 110
 }
Please login to merge, or discard this patch.