Passed
Branch master (d28503)
by Kirill
32:55
created
src/Reflection/Builder/Definitions/ScalarBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Reflection\Builder\Definitions;
11 11
 
Please login to merge, or discard this patch.
src/Reflection/Builder/Definitions/UnionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Reflection\Builder\Definitions;
11 11
 
Please login to merge, or discard this patch.
src/Reflection/Builder/Definitions/DirectiveBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Reflection\Builder\Definitions;
11 11
 
Please login to merge, or discard this patch.
src/Reflection/Coercion/BaseTypeCoercion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Reflection\Coercion;
11 11
 
Please login to merge, or discard this patch.
src/Reflection/Coercion/TypeCoercion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Reflection\Coercion;
11 11
 
Please login to merge, or discard this patch.
src/Reflection/Coercion/DeprecationCoercion.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Reflection\Coercion;
11 11
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function apply(TypeDefinition $directive): void
35 35
     {
36
-        $applier = function () use ($directive): void {
36
+        $applier = function() use ($directive): void {
37 37
             $this->deprecationReason = $directive->getPassedArgument(Deprecation::REASON_ARGUMENT);
38 38
         };
39 39
 
Please login to merge, or discard this patch.
src/Reflection/Coercion/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Reflection\Coercion;
11 11
 
Please login to merge, or discard this patch.
src/Reflection/Coercion/ArgumentCoercion.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Reflection\Coercion;
11 11
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             return;
38 38
         }
39 39
 
40
-        if (! $type->hasDefaultValue()) {
40
+        if (!$type->hasDefaultValue()) {
41 41
             $this->inferenceValue($type);
42 42
             return;
43 43
         }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
          *      field(arg: [Float]  = null)    → field(arg: [Float]  = null)
67 67
          * </code>
68 68
          */
69
-        $isListDefinedByNonList = ($value !== null && ! \is_array($value));
69
+        $isListDefinedByNonList = ($value !== null && !\is_array($value));
70 70
 
71 71
         /**
72 72
          * The allowable conversion method for NULL:
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
          *      field(argument: Type = NULL): Type
122 122
          * </code>
123 123
          */
124
-        if (! $argument->isNonNull()) {
124
+        if (!$argument->isNonNull()) {
125 125
             $this->set($argument, null);
126 126
             return;
127 127
         }
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      */
134 134
     private function set(BaseArgument $argument, $value): void
135 135
     {
136
-        $invocation = function ($value): void {
136
+        $invocation = function($value): void {
137 137
             /** @var BaseArgument $this */
138 138
             $this->defaultValue    = $value;
139 139
             $this->hasDefaultValue = true;
Please login to merge, or discard this patch.
src/Reflection/Loader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Reflection;
11 11
 
Please login to merge, or discard this patch.