Completed
Push — master ( e18fa7...d4c875 )
by Jitendra
10s
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   +4 added lines, -4 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)
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
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
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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] !== '"') {
Please login to merge, or discard this patch.