Completed
Push — master ( f9a123...73c14a )
by Alec
18:36
created
src/Tools/Formatters/BenchmarkFunctionFormatter.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
     {
38 38
         if ($function instanceof BenchmarkFunction) {
39 39
             return
40
-                $this->formatBenchmarkRelative($function) .
40
+                $this->formatBenchmarkRelative($function).
41 41
                 (empty($exception = $this->formatException($function)) ?
42 42
                     PHP_EOL :
43
-                    /*static::EXCEPTIONS .*/ $exception . PHP_EOL);
43
+                    /*static::EXCEPTIONS .*/ $exception.PHP_EOL);
44 44
         }
45 45
         return
46 46
             $this->errorMessage($function, BenchmarkFunction::class);
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     {
133 133
         return
134 134
             str_pad(
135
-                $prefix . Pretty::percent($relative),
135
+                $prefix.Pretty::percent($relative),
136 136
                 9,
137 137
                 ' ',
138 138
                 STR_PAD_LEFT
@@ -146,8 +146,7 @@  discard block
 block discarded – undo
146 146
         $str = static::getExporter()->export($executionReturn);
147 147
         return
148 148
             'array' === $type ?
149
-                $str :
150
-                sprintf(
149
+                $str : sprintf(
151 150
                     '%s(%s)',
152 151
                     $type,
153 152
                     $str
Please login to merge, or discard this patch.
src/Tools/Formatters/BenchmarkReportFormatter.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -60,13 +60,13 @@  discard block
 block discarded – undo
60 60
     protected function build(BenchmarkReport $report): string
61 61
     {
62 62
         $this->report = $report;
63
-        $str = static::RESULTS . PHP_EOL;
63
+        $str = static::RESULTS.PHP_EOL;
64 64
         $this->computeVariables();
65 65
         if ($this->benchmarkedAny) {
66
-            $str .= static::BENCHMARK . PHP_EOL;
66
+            $str .= static::BENCHMARK.PHP_EOL;
67 67
         }
68 68
         if ($this->anyExceptions) {
69
-            $exceptions = static::EXCEPTIONS . PHP_EOL;
69
+            $exceptions = static::EXCEPTIONS.PHP_EOL;
70 70
         } else {
71 71
             $exceptions = '';
72 72
         }
@@ -158,8 +158,7 @@  discard block
 block discarded – undo
158 158
                     '%s%s%s',
159 159
                     $aRAE,
160 160
                     $this->benchmarkedMoreThanOne && $this->report->isShowReturns() ?
161
-                        ':' . PHP_EOL . $formattedLastReturn :
162
-                        $dLM,
161
+                        ':'.PHP_EOL.$formattedLastReturn : $dLM,
163 162
                     PHP_EOL
164 163
                 );
165 164
         }
Please login to merge, or discard this patch.