@@ -18,13 +18,13 @@ |
||
18 | 18 | $this->progressBarWidth = $this->advanceSteps = $progressBarWidth ?? $this->advanceSteps; |
19 | 19 | |
20 | 20 | $progressAdvance = |
21 | - function (): void { |
|
21 | + function(): void { |
|
22 | 22 | echo '*'; |
23 | 23 | }; |
24 | 24 | |
25 | 25 | $progressFinish = |
26 | - function (): void { |
|
27 | - echo "\e[" . $this->progressBarWidth . 'D'; |
|
26 | + function(): void { |
|
27 | + echo "\e[".$this->progressBarWidth.'D'; |
|
28 | 28 | echo "\e[K"; |
29 | 29 | }; |
30 | 30 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | */ |
18 | 18 | public function getString(): string |
19 | 19 | { |
20 | - $str = self::BENCHMARK . PHP_EOL; |
|
20 | + $str = self::BENCHMARK.PHP_EOL; |
|
21 | 21 | /** @var BenchmarkFunction $function */ |
22 | 22 | foreach ($this->report->getFunctions() as $name => $function) { |
23 | 23 | $str .= (new BenchmarkFunctionFormatter($function))->getString(); |
@@ -26,10 +26,10 @@ |
||
26 | 26 | public function getString(): string |
27 | 27 | { |
28 | 28 | return |
29 | - $this->formatBenchmarkRelative() . |
|
29 | + $this->formatBenchmarkRelative(). |
|
30 | 30 | (empty($exception = $this->formatException()) ? |
31 | 31 | PHP_EOL : |
32 | - static::EXCEPTIONS . PHP_EOL . $exception); |
|
32 | + static::EXCEPTIONS.PHP_EOL.$exception); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |