Test Failed
Push — master ( 3e22f3...90cc1b )
by Kirill
03:50
created
src/Compiler/Factory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace Railt\SDL\Compiler;
11 11
 
12 12
 use Railt\Parser\Ast\RuleInterface;
13
-use Railt\Reflection\Contracts\Dictionary;
14 13
 use Railt\Reflection\Document;
15 14
 use Railt\SDL\Compiler\Processor\Definition;
16 15
 use Railt\SDL\Compiler\Processor\Extension;
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/InputUnionProcessor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Railt\Reflection\Contracts\Definition\TypeDefinition;
14 14
 use Railt\Reflection\Definition\InputUnionDefinition;
15 15
 use Railt\SDL\Compiler\Ast\Definition\InputUnionDefinitionNode;
16
-use Railt\SDL\Compiler\Processor\BaseProcessor;
17 16
 
18 17
 /**
19 18
  * Class InputUnionProcessor
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/ObjectProcessor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Railt\Reflection\Contracts\Definition\TypeDefinition;
14 14
 use Railt\Reflection\Definition\ObjectDefinition;
15 15
 use Railt\SDL\Compiler\Ast\Definition\ObjectDefinitionNode;
16
-use Railt\SDL\Compiler\Processor\BaseProcessor;
17 16
 
18 17
 /**
19 18
  * Class DirectiveDefinition
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/TypeDefinitionProcessor.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
      */
31 31
     protected function processDefinition(RuleInterface $ast, TypeDefinition $definition): void
32 32
     {
33
-        $this->immediately(function () use ($ast, $definition): void {
34
-            $this->transaction($definition, function () use ($ast, $definition) {
33
+        $this->immediately(function() use ($ast, $definition): void {
34
+            $this->transaction($definition, function() use ($ast, $definition) {
35 35
                 $definition->withOffset($ast->getOffset());
36 36
                 $definition->withDescription($ast->getDescription());
37 37
             });
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function processDirectives(RuleInterface $ast, TypeDefinition $definition): void
46 46
     {
47
-        $this->future(function () use ($ast, $definition): void {
48
-            $this->transaction($definition, function () use ($ast, $definition) {
47
+        $this->future(function() use ($ast, $definition): void {
48
+            $this->transaction($definition, function() use ($ast, $definition) {
49 49
                 foreach ($ast->getDirectives() as $child) {
50 50
                     $directive = $child->getTypeInvocation($this->document);
51 51
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     private function processDirective(DirectiveNode $ast, DirectiveInvocation $directive): void
66 66
     {
67
-        $this->transaction($directive, function () use ($ast, $directive) {
67
+        $this->transaction($directive, function() use ($ast, $directive) {
68 68
             foreach ($ast->getDirectiveArguments() as $child) {
69 69
                 $argument = $child->getTypeInvocation($directive);
70 70
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     private function processDirectiveArguments(ArgumentInvocation $argument): void
83 83
     {
84
-        $this->transaction($argument, function () use ($argument) {
84
+        $this->transaction($argument, function() use ($argument) {
85 85
             // TODO
86 86
         });
87 87
     }
Please login to merge, or discard this patch.