Passed
Pull Request — master (#1)
by Jitendra
01:24
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/Fixer.php 1 patch
Spacing   +3 added lines, -3 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)) . $tail;
64
+        return $head.$this->doFix(\rtrim($json)).$tail;
65 65
     }
66 66
 
67 67
     public function trim($json)
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         }
90 90
 
91 91
         if (\strlen($json) === 1 && isset($this->pairs[$json])) {
92
-            return $json . $this->pairs[$json];
92
+            return $json.$this->pairs[$json];
93 93
         }
94 94
 
95 95
         if ($json[0] !== '"') {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         $last2 = \substr($json, -2);
101 101
 
102 102
         if ($last2 === '\"' || $last !== '"') {
103
-            return $json . '"';
103
+            return $json.'"';
104 104
         }
105 105
 
106 106
         return null;
Please login to merge, or discard this patch.
src/PadsJson.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 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)
Please login to merge, or discard this patch.