Test Failed
Push — master ( 9fa0b4...c1a156 )
by Kirill
06:08 queued 03:03
created
src/Compiler/Builder/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     {
57 57
         $result = (new ValueBuilder($from))->valueOf($value);
58 58
 
59
-        $this->when->runtime(function () use ($result): void {
59
+        $this->when->runtime(function() use ($result): void {
60 60
             (new ValueInvocation())->invoke($result);
61 61
         });
62 62
 
Please login to merge, or discard this patch.
src/Compiler/Builder/Dependent/EnumValueBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
         $value->withOffset($rule->getOffset());
38 38
         $value->withDescription($rule->getDescription());
39 39
 
40
-        $this->when->runtime(function () use ($rule, $value): void {
40
+        $this->when->runtime(function() use ($rule, $value): void {
41 41
             if ($hint = $rule->getTypeHint()) {
42 42
                 $virtualTypeHint = $this->virtualTypeHint($value, $hint);
43 43
 
44 44
                 $value->withValue($this->valueOf($virtualTypeHint, $rule->getValue()));
45 45
 
46
-                $this->when->resolving(function () use ($value, $virtualTypeHint): void {
46
+                $this->when->resolving(function() use ($value, $virtualTypeHint): void {
47 47
                     $this->shouldBeTypeOf($value, $virtualTypeHint->getDefinition(), [
48 48
                         Type::SCALAR,
49 49
                         Type::ENUM,
Please login to merge, or discard this patch.
src/Compiler/Builder/Dependent/FieldBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             $field->withArgument($this->dependent($ast, $field));
41 41
         }
42 42
 
43
-        $this->when->resolving(function () use ($field): void {
43
+        $this->when->resolving(function() use ($field): void {
44 44
             $this->shouldBeTypeOf($field, $field->getDefinition(), [
45 45
                 Type::SCALAR,
46 46
                 Type::OBJECT,
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             ]);
52 52
         });
53 53
 
54
-        $this->when->runtime(function () use ($rule, $field): void {
54
+        $this->when->runtime(function() use ($rule, $field): void {
55 55
             foreach ($rule->getDirectives() as $ast) {
56 56
                 $field->withDirective($this->dependent($ast, $field));
57 57
             }
Please login to merge, or discard this patch.
src/Compiler/Builder/Dependent/ArgumentBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         $argument->withDescription($rule->getDescription());
36 36
         $argument->withModifiers($hint->getModifiers());
37 37
 
38
-        $this->when->resolving(function () use ($argument): void {
38
+        $this->when->resolving(function() use ($argument): void {
39 39
             $this->shouldBeTypeOf($argument, $argument->getDefinition(), [
40 40
                 Type::SCALAR,
41 41
                 Type::ENUM,
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
             ]);
45 45
         });
46 46
 
47
-        $this->when->runtime(function () use ($rule, $argument): void {
47
+        $this->when->runtime(function() use ($rule, $argument): void {
48 48
             if ($default = $rule->getDefaultValue()) {
49 49
                 $argument->withDefaultValue($this->valueOf($argument, $default));
50
-            } elseif (! $argument->isNonNull()) {
50
+            } elseif (!$argument->isNonNull()) {
51 51
                 $argument->withDefaultValue(null);
52 52
             }
53 53
 
Please login to merge, or discard this patch.
src/Compiler/Builder/Dependent/InputFieldBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         $field->withDescription($rule->getDescription());
36 36
         $field->withModifiers($hint->getModifiers());
37 37
 
38
-        $this->when->resolving(function () use ($field): void {
38
+        $this->when->resolving(function() use ($field): void {
39 39
             $this->shouldBeTypeOf($field, $field->getDefinition(), [
40 40
                 Type::SCALAR,
41 41
                 Type::ENUM,
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             ]);
45 45
         });
46 46
 
47
-        $this->when->runtime(function () use ($rule, $field): void {
47
+        $this->when->runtime(function() use ($rule, $field): void {
48 48
             if ($default = $rule->getDefaultValue()) {
49 49
                 $field->withDefaultValue($this->valueOf($field, $default));
50 50
             }
Please login to merge, or discard this patch.