@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | $this->functions = []; |
| 57 | 57 | $this->rewindable = |
| 58 | 58 | new Rewindable( |
| 59 | - function (int $iterations, int $i = 1): \Generator { |
|
| 59 | + function(int $iterations, int $i = 1): \Generator { |
|
| 60 | 60 | while ($i <= $iterations) { |
| 61 | 61 | yield $i++; |
| 62 | 62 | } |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | $result = $function(...$args); |
| 126 | 126 | } catch (\Throwable $e) { |
| 127 | 127 | $this->errorState = true; |
| 128 | - $result = brackets(typeOf($e)) . ': ' . $e->getMessage(); |
|
| 128 | + $result = brackets(typeOf($e)).': '.$e->getMessage(); |
|
| 129 | 129 | $this->exceptionMessages[$f->getIndexedName()] = $result; |
| 130 | 130 | $this->exceptions[$f->getIndexedName()] = $e; |
| 131 | 131 | } |
@@ -54,10 +54,10 @@ discard block |
||
| 54 | 54 | */ |
| 55 | 55 | public function full(): string |
| 56 | 56 | { |
| 57 | - $name = $this->report->getName(); |
|
| 57 | + $name = $this->report->getName(); |
|
| 58 | 58 | try { |
| 59 | 59 | $str = sprintf( |
| 60 | - 'Timer[%s]: Average: %s, Last: %s, Min(%s): %s, Max(%s): %s, Count: %s' . PHP_EOL, |
|
| 60 | + 'Timer[%s]: Average: %s, Last: %s, Min(%s): %s, Max(%s): %s, Count: %s'.PHP_EOL, |
|
| 61 | 61 | $this->theme->info($name), |
| 62 | 62 | $this->theme->comment(format_time_auto($this->report->getAverageValue())), |
| 63 | 63 | format_time_auto($this->report->getLastValue()), |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | } catch (\Throwable $e) { |
| 71 | 71 | $str = |
| 72 | 72 | sprintf( |
| 73 | - 'Timer[%s]: %s' . PHP_EOL, |
|
| 73 | + 'Timer[%s]: %s'.PHP_EOL, |
|
| 74 | 74 | $this->theme->red($name), |
| 75 | 75 | $this->theme->comment('Exception encountered') |
| 76 | 76 | ); |