@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | { |
| 65 | 65 | Assert::notWhitespaceOnly( |
| 66 | 66 | $comment, |
| 67 | - 'Expected a non-whitespace comment string. Got: "' . $comment . '"' |
|
| 67 | + 'Expected a non-whitespace comment string. Got: "'.$comment.'"' |
|
| 68 | 68 | ); |
| 69 | 69 | $this->comment = $comment; |
| 70 | 70 | return $this; |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | { |
| 79 | 79 | Assert::notWhitespaceOnly( |
| 80 | 80 | $name, |
| 81 | - 'Expected a non-whitespace function name string. Got: "' . $name . '"' |
|
| 81 | + 'Expected a non-whitespace function name string. Got: "'.$name.'"' |
|
| 82 | 82 | ); |
| 83 | 83 | $this->name = $name; |
| 84 | 84 | return $this; |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | continue; |
| 133 | 133 | } |
| 134 | 134 | $result = $this->bench($function); |
| 135 | - $this->message(' ' . $result); |
|
| 135 | + $this->message(' '.$result); |
|
| 136 | 136 | } |
| 137 | 137 | $this->message(''); |
| 138 | 138 | $this->memoryUsageReport = MemoryUsage::getReport()->diff($this->memoryUsageReport); |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | '%s. %s %s %s %s', |
| 38 | 38 | $benchmarkRelative->getRank(), |
| 39 | 39 | mb_str_pad($f->getAssignedName(), 30), |
| 40 | - mb_str_pad('+' . Pretty::percent($benchmarkRelative->getRelative()), 8, ' ', STR_PAD_LEFT), |
|
| 40 | + mb_str_pad('+'.Pretty::percent($benchmarkRelative->getRelative()), 8, ' ', STR_PAD_LEFT), |
|
| 41 | 41 | mb_str_pad( |
| 42 | 42 | (string)$benchmarkRelative->getBenchmarkResult(), |
| 43 | 43 | 18, |
@@ -45,10 +45,10 @@ discard block |
||
| 45 | 45 | STR_PAD_LEFT |
| 46 | 46 | ), |
| 47 | 47 | (string)$f->getComment() |
| 48 | - ) . PHP_EOL; |
|
| 48 | + ).PHP_EOL; |
|
| 49 | 49 | } |
| 50 | 50 | } |
| 51 | - $str .= PHP_EOL . MemoryUsage::getReport(); |
|
| 51 | + $str .= PHP_EOL.MemoryUsage::getReport(); |
|
| 52 | 52 | return $str; |
| 53 | 53 | } |
| 54 | 54 | |