@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | return $tmpJson; |
42 | 42 | } |
43 | 43 | |
44 | - return \substr($tmpJson, 0, 0 - \strlen($matches[1])) . $literal; |
|
44 | + return \substr($tmpJson, 0, 0 - \strlen($matches[1])).$literal; |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | protected function padStack($tmpJson) |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | $tmpJson = $this->padIf($tmpJson, ':'); |
74 | - $tmpJson = $tmpJson . $this->missingValue; |
|
74 | + $tmpJson = $tmpJson.$this->missingValue; |
|
75 | 75 | |
76 | 76 | if ($this->lastToken() === '"') { |
77 | 77 | $this->popToken(); |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | $last2 = \substr($string, -2); |
95 | 95 | |
96 | 96 | if ($last2 === '\"' || $last !== '"') { |
97 | - return $string . '"'; |
|
97 | + return $string.'"'; |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | // @codeCoverageIgnoreStart |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | protected function padIf($string, $substr) |
106 | 106 | { |
107 | 107 | if (\substr($string, 0 - \strlen($substr)) !== $substr) { |
108 | - return $string . $substr; |
|
108 | + return $string.$substr; |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | return $string; |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | |
97 | 97 | $this->reset(); |
98 | 98 | |
99 | - return $head . $this->doFix($json) . $tail; |
|
99 | + return $head.$this->doFix($json).$tail; |
|
100 | 100 | } |
101 | 101 | |
102 | 102 | protected function trim($json) |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | protected function quickFix($json) |
122 | 122 | { |
123 | 123 | if (\strlen($json) === 1 && isset($this->pairs[$json])) { |
124 | - return $json . $this->pairs[$json]; |
|
124 | + return $json.$this->pairs[$json]; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | if ($json[0] !== '"') { |
@@ -9,4 +9,4 @@ |
||
9 | 9 | * Licensed under MIT license. |
10 | 10 | */ |
11 | 11 | |
12 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
12 | +require_once __DIR__.'/../vendor/autoload.php'; |