Passed
Push — master ( ad7663...2cca5c )
by Nate
03:40
created
src/PropertyNamingPolicy.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/Internal/TypeAdapter/ArrayTypeAdapter.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
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     public function read(JsonReadable $reader): ?array
58 58
     {
59
-        if ($reader->peek() === JsonToken::NULL) {
59
+        if ($reader->peek() === JsonToken::null) {
60 60
             $reader->nextNull();
61 61
             return null;
62 62
         }
Please login to merge, or discard this patch.
src/Internal/Excluder.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/Element/JsonArray.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\Element;
10 10
 
Please login to merge, or discard this patch.
src/Internal/Naming/DefaultPropertyNamingStrategy.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\Naming;
10 10
 
@@ -78,6 +78,6 @@  discard block
 block discarded – undo
78 78
      */
79 79
     private function prependUpperCaseWith(string $string, string $replacement): string
80 80
     {
81
-        return \preg_replace('/(?<!^)([A-Z])/', $replacement.'\\1', $string);
81
+        return \preg_replace('/(?<!^)([A-Z])/', $replacement . '\\1', $string);
82 82
     }
83 83
 }
Please login to merge, or discard this patch.
src/Internal/Data/PropertyCollectionFactory.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\Data;
10 10
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     public function create(TypeToken $phpType): PropertyCollection
124 124
     {
125 125
         $class = $phpType->getRawType();
126
-        $key = 'gson.properties.'.\str_replace('\\', '', $class);
126
+        $key = 'gson.properties.' . \str_replace('\\', '', $class);
127 127
 
128 128
         $data = $this->cache->get($key);
129 129
         if ($data !== null) {
Please login to merge, or discard this patch.
src/Internal/JsonObjectIterator.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.