@@ -59,7 +59,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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); |
@@ -35,7 +35,7 @@ discard block |
||
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 |
||
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 |