Test Failed
Branch master (eabb56)
by Andrey
13:23
created
Category
src/Field/AbstractObjectField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
                     $argument['name'] ??= $name;
62 62
                 }
63 63
 
64
-                if (! isset($argument['name'], $argument['type'])) {
64
+                if (!isset($argument['name'], $argument['type'])) {
65 65
                     yield $argument;
66 66
                 }
67 67
 
Please login to merge, or discard this patch.
src/ArgumentResolver/Middleware/ReflectionParameterMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     public function process(mixed $argument, ArgumentResolverInterface $argumentResolver): array
29 29
     {
30
-        if (! $argument instanceof ReflectionParameter) {
30
+        if (!$argument instanceof ReflectionParameter) {
31 31
             return $argumentResolver->resolve($argument);
32 32
         }
33 33
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             return new LazyParserType($attribute->type, $this->typeRegistry);
85 85
         }
86 86
 
87
-        if (! $parameter->hasType()) {
87
+        if (!$parameter->hasType()) {
88 88
             throw new CantResolveGraphQLTypeException(sprintf(
89 89
                 'Can\'t resolve GraphQL type for argument "%s"',
90 90
                 $parameter->getName()
Please login to merge, or discard this patch.
src/ArgumentResolver/Middleware/Next.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     public function resolve(mixed $argument): array
23 23
     {
24
-        if (! isset($this->queue)) {
24
+        if (!isset($this->queue)) {
25 25
             throw new NextHandlerIsEmptyException('Cannot invoke pipeline resolver more than once');
26 26
         }
27 27
 
Please login to merge, or discard this patch.
src/ArgumentResolver/Middleware/ArgumentMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     public function process(mixed $argument, ArgumentResolverInterface $argumentResolver): array
24 24
     {
25
-        if (! $argument instanceof ArgumentInterface) {
25
+        if (!$argument instanceof ArgumentInterface) {
26 26
             return $argumentResolver->resolve($argument);
27 27
         }
28 28
 
Please login to merge, or discard this patch.
src/TypeRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     public function getTypes(): iterable
67 67
     {
68 68
         foreach ($this->registry as $type) {
69
-            if ($type instanceof Webonyx\ObjectType && ! empty($type->getInterfaces())) {
69
+            if ($type instanceof Webonyx\ObjectType && !empty($type->getInterfaces())) {
70 70
                 yield $type;
71 71
             }
72 72
         }
Please login to merge, or discard this patch.
src/Type/DateTime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     public function serialize(mixed $value): string
24 24
     {
25
-        if (! $value instanceof \DateTimeInterface) {
25
+        if (!$value instanceof \DateTimeInterface) {
26 26
             throw new InvariantViolation(
27 27
                 'DateTime is not an instance of DateTimeInterface: ' . Utils::printSafe($value)
28 28
             );
Please login to merge, or discard this patch.
src/Type/Date.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     public function serialize(mixed $value): string
24 24
     {
25
-        if (! $value instanceof \DateTimeInterface) {
25
+        if (!$value instanceof \DateTimeInterface) {
26 26
             throw new InvariantViolation(
27 27
                 'Date is not an instance of DateTimeInterface: ' . Utils::printSafe($value)
28 28
             );
Please login to merge, or discard this patch.
src/InputObjectFieldResolver/Middleware/ReflectionMethodMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function process(mixed $field, InputObjectFieldResolverInterface $fieldResolver): Webonyx\InputObjectField
34 34
     {
35
-        if (! $field instanceof ReflectionMethod) {
35
+        if (!$field instanceof ReflectionMethod) {
36 36
             return $fieldResolver->resolve($field);
37 37
         }
38 38
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
         $parameter = $parameters[0];
93 93
 
94
-        if (! $parameter->hasType()) {
94
+        if (!$parameter->hasType()) {
95 95
             throw new CantResolveGraphQLTypeException(sprintf(
96 96
                 'Can\'t resolve GraphQL type "%s" for field "%s". Parameter has no type.',
97 97
                 $method->getDeclaringClass()->getName(),
Please login to merge, or discard this patch.
src/InputObjectFieldResolver/Middleware/InputObjectFieldMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     public function process(mixed $field, InputObjectFieldResolverInterface $fieldResolver): Webonyx\InputObjectField
25 25
     {
26
-        if (! $field instanceof InputObjectFieldInterface) {
26
+        if (!$field instanceof InputObjectFieldInterface) {
27 27
             return $fieldResolver->resolve($field);
28 28
         }
29 29
 
Please login to merge, or discard this patch.