@@ -37,10 +37,10 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -60,13 +60,13 @@ discard block |
||
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 |
||
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 | } |