Passed
Push — master ( ad7663...2cca5c )
by Nate
03:40
created
src/Internal/ObjectConstructor/CreateFromReflectionClass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal\ObjectConstructor;
10 10
 
Please login to merge, or discard this patch.
src/Internal/JsonElementReader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal;
10 10
 
@@ -219,11 +219,11 @@  discard block
 block discarded – undo
219 219
         $result = '$';
220 220
         foreach ($this->stack as $index => $item) {
221 221
             if ($item instanceof ArrayIterator && isset($this->pathIndices[$index])) {
222
-                $result .= '['.$this->pathIndices[$index].']';
222
+                $result .= '[' . $this->pathIndices[$index] . ']';
223 223
             }
224 224
 
225 225
             if ($item instanceof JsonObjectIterator && isset($this->pathNames[$index])) {
226
-                $result .= '.'.$this->pathNames[$index];
226
+                $result .= '.' . $this->pathNames[$index];
227 227
             }
228 228
         }
229 229
 
Please login to merge, or discard this patch.
src/Internal/JsonDecodeReader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal;
10 10
 
@@ -216,11 +216,11 @@  discard block
 block discarded – undo
216 216
         $result = '$';
217 217
         foreach ($this->stack as $index => $item) {
218 218
             if ($item instanceof ArrayIterator && isset($this->pathIndices[$index])) {
219
-                $result .= '['.$this->pathIndices[$index].']';
219
+                $result .= '[' . $this->pathIndices[$index] . ']';
220 220
             }
221 221
 
222 222
             if ($item instanceof StdClassIterator && isset($this->pathNames[$index])) {
223
-                $result .= '.'.$this->pathNames[$index];
223
+                $result .= '.' . $this->pathNames[$index];
224 224
             }
225 225
         }
226 226
 
Please login to merge, or discard this patch.
src/TypeAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson;
10 10
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
         $this->write($writer, $var);
82 82
 
83
-        return (string) $writer;
83
+        return (string)$writer;
84 84
     }
85 85
 
86 86
     /**
Please login to merge, or discard this patch.
src/Gson.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson;
10 10
 
Please login to merge, or discard this patch.
src/TypeAdapterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson;
10 10
 
Please login to merge, or discard this patch.
src/JsonReadable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson;
10 10
 
Please login to merge, or discard this patch.
src/ExclusionStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson;
10 10
 
Please login to merge, or discard this patch.
src/JsonSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson;
10 10
 
Please login to merge, or discard this patch.