Completed
Push — master ( c2654a...8b49d6 )
by Alec
21:15 queued 13:44
created
src/Tools/Benchmark.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     {
60 60
         Assert::notWhitespaceOnly(
61 61
             $comment,
62
-            'Expected a non-whitespace comment string. Got: "' . $comment . '"'
62
+            'Expected a non-whitespace comment string. Got: "'.$comment.'"'
63 63
         );
64 64
         $this->comment = $comment;
65 65
         return $this;
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         Assert::notWhitespaceOnly(
75 75
             $name,
76
-            'Expected a non-whitespace function name string. Got: "' . $name . '"'
76
+            'Expected a non-whitespace function name string. Got: "'.$name.'"'
77 77
         );
78 78
         $this->name = $name;
79 79
         return $this;
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             $this->message(
110 110
                 sprintf(
111 111
                     'Function %s',
112
-                    mb_str_pad('\'' . $function->getAssignedName() . '\'', 20)
112
+                    mb_str_pad('\''.$function->getAssignedName().'\'', 20)
113 113
                 ),
114 114
                 false
115 115
             );
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
                 continue;
128 128
             }
129 129
             $result = $this->bench($function);
130
-            $this->message(' ' . $result);
130
+            $this->message(' '.$result);
131 131
         }
132 132
         $this->message('');
133 133
         $this->memoryUsageReport = MemoryUsage::getReport()->diff($this->memoryUsageReport);
Please login to merge, or discard this patch.
src/Tools/BenchmarkReport.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                         '%s. %s %s %s %s',
36 36
                         $benchmarkRelative->getRank(),
37 37
                         mb_str_pad($f->getAssignedName(), 20),
38
-                        mb_str_pad('+' . Pretty::percent($benchmarkRelative->getRelative()), 8, ' ', STR_PAD_LEFT),
38
+                        mb_str_pad('+'.Pretty::percent($benchmarkRelative->getRelative()), 8, ' ', STR_PAD_LEFT),
39 39
                         mb_str_pad(
40 40
                             (string)$benchmarkRelative->getBenchmarkResult(),
41 41
                             18,
@@ -43,10 +43,10 @@  discard block
 block discarded – undo
43 43
                             STR_PAD_LEFT
44 44
                         ),
45 45
                         (string)$f->getComment()
46
-                    ) . PHP_EOL;
46
+                    ).PHP_EOL;
47 47
             }
48 48
         }
49
-        $str .= PHP_EOL . MemoryUsage::getReport();
49
+        $str .= PHP_EOL.MemoryUsage::getReport();
50 50
         return $str;
51 51
     }
52 52
 
Please login to merge, or discard this patch.