Completed
Push — develop ( 6ca366...ef8817 )
by Alec
02:53
created
src/Tools/Benchmark.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $this->silent = $silent ?? $this->silent;
61 61
 
62 62
         $this->iterationNumberGenerator =
63
-            function (int $iterations, int $i = 1): \Generator {
63
+            function(int $iterations, int $i = 1): \Generator {
64 64
                 while ($i <= $iterations) {
65 65
                     yield $i++;
66 66
                 }
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     {
85 85
         if ($iterations < self::MIN_ITERATIONS) {
86 86
             throw new \RuntimeException(
87
-                '[' . __CLASS__ . '] Number of Iterations should be greater than ' . self::MIN_ITERATIONS . '.'
87
+                '['.__CLASS__.'] Number of Iterations should be greater than '.self::MIN_ITERATIONS.'.'
88 88
             );
89 89
         }
90 90
     }
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
 
300 300
     protected function showComment(string $comment = ''): void
301 301
     {
302
-        echo $comment . PHP_EOL;
302
+        echo $comment.PHP_EOL;
303 303
     }
304 304
 
305 305
     /**
Please login to merge, or discard this patch.
src/Tools/Reports/Formatters/Colour/Theme.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     protected function assertArgs(string $name, array $arguments): void
87 87
     {
88 88
         if (1 !== \count($arguments)) {
89
-            throw new \ArgumentCountError('Method [' . $name . '] accepts only one argument.');
89
+            throw new \ArgumentCountError('Method ['.$name.'] accepts only one argument.');
90 90
         }
91 91
     }
92 92
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     protected function assertMethodName(string $name): void
97 97
     {
98 98
         if (!\array_key_exists($name, static::THEMES)) {
99
-            throw new \BadMethodCallException('Unknown method call [' . $name . '] in [' . static::class . '].');
99
+            throw new \BadMethodCallException('Unknown method call ['.$name.'] in ['.static::class.'].');
100 100
         }
101 101
     }
102 102
 }
Please login to merge, or discard this patch.
src/Tools/BenchmarkSymfonyProgressBar.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,17 +34,17 @@  discard block
 block discarded – undo
34 34
         $this->progressBar = new ProgressBar($this->output, $this->advanceSteps);
35 35
         $this->progressBar->setBarWidth($this->progressBarWidth);
36 36
         $progressStart =
37
-            function (): void {
37
+            function(): void {
38 38
                 $this->progressBar->start();
39 39
             };
40 40
 
41 41
         $progressAdvance =
42
-            function (): void {
42
+            function(): void {
43 43
                 $this->progressBar->advance();
44 44
             };
45 45
 
46 46
         $progressFinish =
47
-            function (): void {
47
+            function(): void {
48 48
                 $this->progressBar->finish();
49 49
                 $this->progressBar->clear();
50 50
             };
@@ -92,6 +92,6 @@  discard block
 block discarded – undo
92 92
 //        $outputStyle = new OutputFormatterStyle('red', 'yellow', ['bold', 'blink']);
93 93
 //        $this->output->getFormatter()->setStyle('fire', $outputStyle);
94 94
 //
95
-        $this->output->writeln('<comment>' . $comment . '</>');
95
+        $this->output->writeln('<comment>'.$comment.'</>');
96 96
     }
97 97
 }
Please login to merge, or discard this patch.