Passed
Push — develop ( c21a1a...566459 )
by Alec
02:51 queued 10s
created
src/Tools/Reports/Formatters/CounterReportFormatter.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/Tools/Benchmark.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.