Passed
Push — master ( ad7663...2cca5c )
by Nate
03:40
created
src/Internal/TypeAdapter/ReflectionTypeAdapter.php 2 patches
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\Internal\TypeAdapter;
10 10
 
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
         $writer->beginObject();
182 182
 
183
-        $virtualProperty = $this->classMetadata->getAnnotation(VirtualProperty::class) ;
183
+        $virtualProperty = $this->classMetadata->getAnnotation(VirtualProperty::class);
184 184
         if ($virtualProperty !== null) {
185 185
             $writer->name($virtualProperty->getValue());
186 186
             $writer->beginObject();
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      */
97 97
     public function read(JsonReadable $reader)
98 98
     {
99
-        if ($reader->peek() === JsonToken::NULL) {
99
+        if ($reader->peek() === JsonToken::null) {
100 100
             $reader->nextNull();
101 101
             return null;
102 102
         }
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/DateTimeTypeAdapter.php 2 patches
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\TypeAdapter;
10 10
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function read(JsonReadable $reader): ?DateTime
56 56
     {
57
-        if ($reader->peek() === JsonToken::NULL) {
57
+        if ($reader->peek() === JsonToken::null) {
58 58
             $reader->nextNull();
59 59
             return null;
60 60
         }
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/IntegerTypeAdapter.php 2 patches
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\TypeAdapter;
10 10
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function read(JsonReadable $reader): ?int
30 30
     {
31
-        if ($reader->peek() === JsonToken::NULL) {
31
+        if ($reader->peek() === JsonToken::null) {
32 32
             $reader->nextNull();
33 33
             return null;
34 34
         }
Please login to merge, or discard this patch.
src/Internal/DefaultClassMetadata.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;
10 10
 
Please login to merge, or discard this patch.
src/Internal/AccessorMethodProvider.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;
10 10
 
Please login to merge, or discard this patch.
src/Internal/Data/PropertyCollection.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\Data;
10 10
 
Please login to merge, or discard this patch.
src/Internal/DefaultPropertyMetadata.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\Internal;
10 10
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     public function getTypeName(): string
142 142
     {
143
-        return (string) $this->type;
143
+        return (string)$this->type;
144 144
     }
145 145
 
146 146
     /**
Please login to merge, or discard this patch.
src/PropertyMetadata.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/ClassMetadata.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.