Passed
Branch master (d28503)
by Kirill
32:55
created
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/Coercion/PassedArgumentsCoercion.php 1 patch
Spacing   +3 added lines, -3 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
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     private function inferenceDefaultArguments(HasArguments $container, HasPassedArguments $usage): void
50 50
     {
51 51
         foreach ($container->getArguments() as $argument) {
52
-            if ($argument->hasDefaultValue() && ! $usage->hasPassedArgument($argument->getName())) {
52
+            if ($argument->hasDefaultValue() && !$usage->hasPassedArgument($argument->getName())) {
53 53
                 $this->set($usage, $argument->getName(), $argument->getDefaultValue());
54 54
             }
55 55
         }
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     private function set(HasPassedArguments $usage, string $key, $value): void
64 64
     {
65
-        $invocation = function (string $key, $value): void {
65
+        $invocation = function(string $key, $value): void {
66 66
             /** @var BaseInputInvocation $this */
67 67
             $this->arguments[$key] = $value;
68 68
         };
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.
src/Reflection/Repository.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;
11 11
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function register(TypeDefinition $type, bool $force = false): Dictionary
53 53
     {
54
-        if (! $force && $this->has($type->getName())) {
54
+        if (!$force && $this->has($type->getName())) {
55 55
             $error = \sprintf(
56 56
                 'Can not declare %s, because the name %s already in use',
57 57
                 $this->typeToString($type),
Please login to merge, or discard this patch.