Completed
Push — master ( 137204...824e9d )
by Alec
08:58
created
src/Tools/BenchmarkSymfonyProgressBar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,17 +33,17 @@
 block discarded – undo
33 33
         $this->progressBar = new ProgressBar($this->output, $this->advanceSteps);
34 34
         $this->progressBar->setBarWidth($this->progressBarWidth);
35 35
         $progressStart =
36
-            function (): void {
36
+            function(): void {
37 37
                 $this->progressBar->start();
38 38
             };
39 39
 
40 40
         $progressAdvance =
41
-            function (): void {
41
+            function(): void {
42 42
                 $this->progressBar->advance();
43 43
             };
44 44
 
45 45
         $progressFinish =
46
-            function (): void {
46
+            function(): void {
47 47
                 $this->progressBar->finish();
48 48
                 $this->progressBar->clear();
49 49
             };
Please login to merge, or discard this patch.
src/Tools/Reports/Formatters/BenchmarkFunctionFormatter.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
     {
51 51
         if ($function instanceof BenchmarkFunction) {
52 52
             return
53
-                $this->formatBenchmarkRelative($function) .
53
+                $this->formatBenchmarkRelative($function).
54 54
                 (empty($exception = $this->formatException($function)) ?
55 55
                     PHP_EOL :
56
-                    static::EXCEPTIONS . PHP_EOL . $exception);
56
+                    static::EXCEPTIONS.PHP_EOL.$exception);
57 57
         }
58 58
         // todo cleanup
59 59
         throw new \RuntimeException(typeOf($function));
@@ -157,8 +157,7 @@  discard block
 block discarded – undo
157 157
         $str = static::getExporter()->export($executionReturn);
158 158
         return
159 159
             'array' === $type ?
160
-                $str :
161
-                sprintf(
160
+                $str : sprintf(
162 161
                     '%s(%s)',
163 162
                     $type,
164 163
                     $str
Please login to merge, or discard this patch.
src/Tools/Reports/Formatters/Formatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     protected function wrongFormattableType(string $expected, Formattable $formattable): void
21 21
     {
22 22
         throw new \RuntimeException(
23
-            'Instance of [' . $expected . '] expected, [' . typeOf($formattable) . '] given.'
23
+            'Instance of ['.$expected.'] expected, ['.typeOf($formattable).'] given.'
24 24
         );
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Tools/Reports/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
             static::setBenchmarkFunctionFormatter($formatter);
107 107
             return self::getBenchmarkFunctionFormatter();
108 108
         }
109
-        throw new \RuntimeException('Formatter [' . typeOf($formatter) . '] is not accepted.');
109
+        throw new \RuntimeException('Formatter ['.typeOf($formatter).'] is not accepted.');
110 110
     }
111 111
 
112 112
     /**
Please login to merge, or discard this patch.