Completed
Push — master ( ba1441...60ee2c )
by Nate
09:29 queued 07:03
created
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.
src/Element/JsonObject.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/Element/JsonArray.php 1 patch
Spacing   +5 added lines, -5 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\Element;
10 10
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * @param string $value
35 35
      */
36
-    public function addString(?string $value): void
36
+    public function addString(?string $value) : void
37 37
     {
38 38
         $this->addJsonElement(JsonPrimitive::create($value));
39 39
     }
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @param int $value
45 45
      */
46
-    public function addInteger(?int $value): void
46
+    public function addInteger(?int $value) : void
47 47
     {
48 48
         $this->addJsonElement(JsonPrimitive::create($value));
49 49
     }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @param float $value
55 55
      */
56
-    public function addFloat(?float $value): void
56
+    public function addFloat(?float $value) : void
57 57
     {
58 58
         $this->addJsonElement(JsonPrimitive::create($value));
59 59
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param bool $value
65 65
      */
66
-    public function addBoolean(?bool $value): void
66
+    public function addBoolean(?bool $value) : void
67 67
     {
68 68
         $this->addJsonElement(JsonPrimitive::create($value));
69 69
     }
Please login to merge, or discard this patch.
src/PropertyNamingPolicy.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;
10 10
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,5 +68,7 @@
 block discarded – undo
68 68
         self::UPPER_CAMEL_CASE_WITH_SPACES,
69 69
     ];
70 70
 
71
-    private function __construct() {}
71
+    private function __construct()
72
+    {
73
+}
72 74
 }
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
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     private function prependUpperCaseWith(string $string, string $replacement): string
78 78
     {
79
-        return preg_replace('/(?<!^)([A-Z])/', $replacement.'\\1', $string);
79
+        return preg_replace('/(?<!^)([A-Z])/', $replacement . '\\1', $string);
80 80
     }
81 81
 
82 82
 }
Please login to merge, or discard this patch.