@@ -1,3 +1,3 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
| 3 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
@@ -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; |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | $this->reset($missingValue); |
| 63 | 63 | |
| 64 | - return $head . $this->doFix(\rtrim($json), $silent) . $tail; |
|
| 64 | + return $head.$this->doFix(\rtrim($json), $silent).$tail; |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | protected function trim($json) |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | protected function quickFix($json) |
| 86 | 86 | { |
| 87 | 87 | if (\strlen($json) === 1 && isset($this->pairs[$json])) { |
| 88 | - return $json . $this->pairs[$json]; |
|
| 88 | + return $json.$this->pairs[$json]; |
|
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | if ($json[0] !== '"') { |