Completed
Pull Request — master (#1)
by Jitendra
01:21
created
tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once __DIR__ . '/../vendor/autoload.php';
3
+require_once __DIR__.'/../vendor/autoload.php';
Please login to merge, or discard this patch.
src/PadsJson.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
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)
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $last2 = \substr($string, -2);
96 96
 
97 97
         if ($last2 === '\"' || $last !== '"') {
98
-            return $string . '"';
98
+            return $string.'"';
99 99
         }
100 100
 
101 101
         // @codeCoverageIgnoreStart
Please login to merge, or discard this patch.
src/Fixer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
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
     public function trim($json)
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     public 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] !== '"') {
Please login to merge, or discard this patch.