@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | public function appendText($value) |
| 42 | 42 | { |
| 43 | 43 | $text = $this->stringify($value); |
| 44 | - $this->message = $this->message . $text; |
|
| 44 | + $this->message = $this->message.$text; |
|
| 45 | 45 | |
| 46 | 46 | return $this; |
| 47 | 47 | } |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | public function appendSpace($length) |
| 57 | 57 | { |
| 58 | 58 | $paddingLength = (int) $length; |
| 59 | - $this->message = $this->message . str_pad('', $paddingLength, ' '); |
|
| 59 | + $this->message = $this->message.str_pad('', $paddingLength, ' '); |
|
| 60 | 60 | |
| 61 | 61 | return $this; |
| 62 | 62 | } |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | public function appendValue($value) |
| 72 | 72 | { |
| 73 | 73 | $appendValue = $this->formatValue($value); |
| 74 | - $this->message = $this->message . $appendValue; |
|
| 74 | + $this->message = $this->message.$appendValue; |
|
| 75 | 75 | |
| 76 | 76 | return $this; |
| 77 | 77 | } |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | $appendValues[] = $this->formatValue($value); |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | - $this->message = $this->message . implode(', ', $appendValues); |
|
| 94 | + $this->message = $this->message.implode(', ', $appendValues); |
|
| 95 | 95 | |
| 96 | 96 | return $this; |
| 97 | 97 | } |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | { |
| 101 | 101 | $prefix = (string) $this; |
| 102 | 102 | $suffix = (string) $message; |
| 103 | - $concatenatedMessage = trim($prefix) . "\n" . trim($suffix); |
|
| 103 | + $concatenatedMessage = trim($prefix)."\n".trim($suffix); |
|
| 104 | 104 | |
| 105 | 105 | return static::fromString($concatenatedMessage); |
| 106 | 106 | } |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | $text = $this->stringify($value); |
| 126 | 126 | |
| 127 | 127 | if (is_string($value)) { |
| 128 | - $text = "'" . $text . "'"; |
|
| 128 | + $text = "'".$text."'"; |
|
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | return $text; |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | |
| 121 | 121 | $values = array_values($autoload); |
| 122 | 122 | $namespaceDirectory = array_shift($values); |
| 123 | - $namespaceDirectory = realpath($composerJsonDirectory . '/' . $namespaceDirectory); |
|
| 123 | + $namespaceDirectory = realpath($composerJsonDirectory.'/'.$namespaceDirectory); |
|
| 124 | 124 | |
| 125 | 125 | return new self($namespace, $namespaceDirectory); |
| 126 | 126 | } |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | public function __construct() |
| 39 | 39 | { |
| 40 | 40 | $this->matcherNamespace = '\\expect\\matcher'; |
| 41 | - $this->matcherDirectory = realpath(__DIR__ . '/../matcher'); |
|
| 41 | + $this->matcherDirectory = realpath(__DIR__.'/../matcher'); |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | public function __construct($namespace, $className) |
| 23 | 23 | { |
| 24 | - $matcherClassName = $namespace . '\\' . $className; |
|
| 24 | + $matcherClassName = $namespace.'\\'.$className; |
|
| 25 | 25 | $this->reflection = new ReflectionClass($matcherClassName); |
| 26 | 26 | } |
| 27 | 27 | |