Test Failed
Push — master ( 47f867...0ed588 )
by Kirill
04:33 queued 02:21
created
src/Frontend/Builder/Definition/SchemaDefinitionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $name = yield $rule->first('> #TypeName');
46 46
 
47 47
         yield $this->deferred($ctx, yield $rule->first('> #TypeName'))
48
-            ->then(function (ContextInterface $context) use ($name, $rule) {
48
+            ->then(function(ContextInterface $context) use ($name, $rule) {
49 49
                 return $this->then($context, $rule, $name);
50 50
             });
51 51
     }
Please login to merge, or discard this patch.
src/Frontend/Builder/Value/TypeInvocationBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
         $isConst = $name->getType()->typeOf(Type::const());
82 82
 
83
-        if (! $isConst) {
83
+        if (!$isConst) {
84 84
             $error     = 'Generic argument name must be a const but %s given';
85 85
             $exception = new TypeConflictException(\sprintf($error, $name));
86 86
             $exception->throwsIn($ctx->getFile(), $rule->getOffset());
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             throw $exception;
89 89
         }
90 90
 
91
-        return Name::fromString((string)$name->getValue());
91
+        return Name::fromString((string) $name->getValue());
92 92
     }
93 93
 
94 94
     /**
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 
104 104
         $isType = $value->getType()->typeOf(Type::type());
105 105
 
106
-        if (! $isType) {
106
+        if (!$isType) {
107 107
             $error     = 'Generic argument value must be a valid type, but %s given';
108 108
             $exception = new TypeConflictException(\sprintf($error, $value));
109 109
             $exception->throwsIn($ctx->getFile(), $rule->getOffset());
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
         switch (true) {
130 130
             case $isConst:
131
-                return new InvocationPrimitive(Name::fromString((string)$name->getValue()));
131
+                return new InvocationPrimitive(Name::fromString((string) $name->getValue()));
132 132
 
133 133
             case $isType:
134 134
                 /** @var InvocationPrimitive $value */
Please login to merge, or discard this patch.
src/Frontend/Builder/Instruction/VariableBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function reduce(ContextInterface $ctx, RuleInterface $rule): \Generator
45 45
     {
46
-        yield function () use ($ctx, $rule): \Generator {
46
+        yield function() use ($ctx, $rule): \Generator {
47 47
             /** @var ValueInterface $value */
48 48
             [$isConstant, $value] = [$this->isConstant($rule), yield $this->getValueNode($rule)];
49 49
 
Please login to merge, or discard this patch.
src/Frontend/Builder/Instruction/VariableReassigmentBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function reduce(ContextInterface $ctx, RuleInterface $rule)
37 37
     {
38
-        yield function () use ($ctx, $rule): \Generator {
38
+        yield function() use ($ctx, $rule): \Generator {
39 39
             /** @var ValueInterface $value */
40 40
             $value = yield $rule->first('> #VariableValue')->getChild(0);
41 41
 
Please login to merge, or discard this patch.