@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | { |
| 36 | 36 | return |
| 37 | 37 | sprintf( |
| 38 | - self::COUNTER . ': %s%s', |
|
| 38 | + self::COUNTER.': %s%s', |
|
| 39 | 39 | (string)$this->report->getValue(), |
| 40 | 40 | $eol ? PHP_EOL : '' |
| 41 | 41 | ); |
@@ -49,15 +49,15 @@ discard block |
||
| 49 | 49 | { |
| 50 | 50 | return |
| 51 | 51 | sprintf( |
| 52 | - self::COUNTER . '[%s]: ' . |
|
| 53 | - self::VALUE . ': %s, ' . |
|
| 54 | - self::STEP . ': %s, ' . |
|
| 55 | - self::BUMPED . ': %s, ' . |
|
| 56 | - self::PATH . ': %s, ' . |
|
| 57 | - self::LENGTH . ': %s, ' . |
|
| 58 | - self::MAX . ': %s, ' . |
|
| 59 | - self::MIN . ': %s, ' . |
|
| 60 | - self::DIFF . ': %s %s', |
|
| 52 | + self::COUNTER.'[%s]: '. |
|
| 53 | + self::VALUE.': %s, '. |
|
| 54 | + self::STEP.': %s, '. |
|
| 55 | + self::BUMPED.': %s, '. |
|
| 56 | + self::PATH.': %s, '. |
|
| 57 | + self::LENGTH.': %s, '. |
|
| 58 | + self::MAX.': %s, '. |
|
| 59 | + self::MIN.': %s, '. |
|
| 60 | + self::DIFF.': %s %s', |
|
| 61 | 61 | $this->report->getName(), |
| 62 | 62 | (string)$this->report->getValue(), |
| 63 | 63 | (string)$this->report->getStep(), |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | private function computeBumped(): string |
| 78 | 78 | { |
| 79 | 79 | return sprintf( |
| 80 | - self::FORWARD . '%s ' . self::BACKWARD . '%s', |
|
| 80 | + self::FORWARD.'%s '.self::BACKWARD.'%s', |
|
| 81 | 81 | $this->report->getBumpedForward(), |
| 82 | 82 | $this->report->getBumpedBack() |
| 83 | 83 | ); |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | */ |
| 49 | 49 | public function __construct(int $iterations = 1000) |
| 50 | 50 | { |
| 51 | - $this->generatorFunction = function (int $iterations, int $i = 1): \Generator { |
|
| 51 | + $this->generatorFunction = function(int $iterations, int $i = 1): \Generator { |
|
| 52 | 52 | while ($i <= $iterations) { |
| 53 | 53 | yield $i++; |
| 54 | 54 | } |