@@ -19,12 +19,12 @@ |
||
| 19 | 19 | */ |
| 20 | 20 | public function process(): string |
| 21 | 21 | { |
| 22 | - $str = 'Results:' . PHP_EOL; |
|
| 22 | + $str = 'Results:'.PHP_EOL; |
|
| 23 | 23 | $added = $this->added(); |
| 24 | 24 | $benchmarked = $this->benchmarked(); |
| 25 | 25 | $benchmarkedAny = $this->benchmarkedAny($added, $benchmarked); |
| 26 | 26 | if ($benchmarkedAny) { |
| 27 | - $str .= self::BENCHMARK . PHP_EOL; |
|
| 27 | + $str .= self::BENCHMARK.PHP_EOL; |
|
| 28 | 28 | } |
| 29 | 29 | $equalReturns = $this->checkReturns(); |
| 30 | 30 | /** @var BenchmarkFunction $function */ |
@@ -39,10 +39,10 @@ discard block |
||
| 39 | 39 | public function process(): string |
| 40 | 40 | { |
| 41 | 41 | return |
| 42 | - $this->formatBenchmarkRelative() . |
|
| 42 | + $this->formatBenchmarkRelative(). |
|
| 43 | 43 | (empty($exception = $this->formatException()) ? |
| 44 | 44 | PHP_EOL : |
| 45 | - static::EXCEPTIONS . PHP_EOL . $exception); |
|
| 45 | + static::EXCEPTIONS.PHP_EOL.$exception); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -136,12 +136,11 @@ discard block |
||
| 136 | 136 | try { |
| 137 | 137 | $str = var_export($executionReturn, true); |
| 138 | 138 | } catch (\Exception $e) { |
| 139 | - $str = '[' . typeOf($e) . '] ' . $e->getMessage(); |
|
| 139 | + $str = '['.typeOf($e).'] '.$e->getMessage(); |
|
| 140 | 140 | } |
| 141 | 141 | return |
| 142 | 142 | $type === 'array' ? |
| 143 | - $str : |
|
| 144 | - sprintf( |
|
| 143 | + $str : sprintf( |
|
| 145 | 144 | '%s(%s)', |
| 146 | 145 | $type, |
| 147 | 146 | $str |