Test Failed
Push — master ( 690100...f55788 )
by Kirill
09:19
created
src/Frontend/AST/Definition/Provider/ArgumentNodesProvider.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\Frontend\Ast\Definition\Provider;
11 11
 
12 12
 use Railt\SDL\Frontend\Ast\Definition\ArgumentDefinitionNode;
13
-use Railt\SDL\Frontend\Ast\Definition\FieldDefinitionNode;
14 13
 
15 14
 /**
16 15
  * Trait ArgumentNodesProvider
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/DirectiveBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Railt\Io\Readable;
13 13
 use Railt\Parser\Ast\RuleInterface;
14 14
 use Railt\SDL\Frontend\Ast\Definition\DirectiveDefinitionNode;
15
-use Railt\SDL\Frontend\Ast\Definition\ObjectDefinitionNode;
16 15
 use Railt\SDL\Frontend\Builder\DefinitionBuilder;
17 16
 use Railt\SDL\IR\Type;
18 17
 use Railt\SDL\IR\TypeDefinition;
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/InputFieldBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 use Railt\Io\Readable;
13 13
 use Railt\Parser\Ast\RuleInterface;
14
-use Railt\SDL\Frontend\Ast\Definition\InputDefinitionNode;
15 14
 use Railt\SDL\Frontend\Ast\Definition\InputFieldDefinitionNode;
16 15
 use Railt\SDL\Frontend\Builder\DefinitionBuilder;
17 16
 use Railt\SDL\IR\Type;
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/SchemaBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Railt\Io\Readable;
13 13
 use Railt\Parser\Ast\RuleInterface;
14 14
 use Railt\Reflection\Contracts\Definition\SchemaDefinition;
15
-use Railt\SDL\Frontend\Ast\Definition\ObjectDefinitionNode;
16 15
 use Railt\SDL\Frontend\Ast\Definition\SchemaDefinitionNode;
17 16
 use Railt\SDL\Frontend\Builder\DefinitionBuilder;
18 17
 use Railt\SDL\IR\Type;
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/SchemaFieldBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 use Railt\Io\Readable;
13 13
 use Railt\Parser\Ast\RuleInterface;
14
-use Railt\SDL\Frontend\Ast\Definition\SchemaDefinitionNode;
15 14
 use Railt\SDL\Frontend\Ast\Definition\SchemaFieldDefinitionNode;
16 15
 use Railt\SDL\Frontend\Builder\DefinitionBuilder;
17 16
 use Railt\SDL\IR\Type;
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/UnionBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 use Railt\Io\Readable;
13 13
 use Railt\Parser\Ast\RuleInterface;
14
-use Railt\SDL\Frontend\Ast\Definition\ObjectDefinitionNode;
15 14
 use Railt\SDL\Frontend\Ast\Definition\UnionDefinitionNode;
16 15
 use Railt\SDL\Frontend\Builder\DefinitionBuilder;
17 16
 use Railt\SDL\IR\Type;
Please login to merge, or discard this patch.
src/IR/TypeHint.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function isNonNull(): bool
39 39
     {
40
-        return (bool)($this->modifiers & static::IS_NOT_NULL);
40
+        return (bool) ($this->modifiers & static::IS_NOT_NULL);
41 41
     }
42 42
 
43 43
     /**
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public function isList(): bool
47 47
     {
48
-        return (bool)($this->modifiers & static::IS_LIST);
48
+        return (bool) ($this->modifiers & static::IS_LIST);
49 49
     }
50 50
 
51 51
     /**
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function isListOfNonNulls(): bool
55 55
     {
56
-        return (bool)($this->modifiers & static::IS_LIST_OF_NOT_NULL);
56
+        return (bool) ($this->modifiers & static::IS_LIST_OF_NOT_NULL);
57 57
     }
58 58
 
59 59
     /**
Please login to merge, or discard this patch.
src/IR/ValueObject.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,9 +108,9 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function jsonSerialize(): array
110 110
     {
111
-        $applicator = function ($value) {
111
+        $applicator = function($value) {
112 112
             if (\is_object($value) && \method_exists($value, '__toString')) {
113
-                return (string)$value;
113
+                return (string) $value;
114 114
             }
115 115
 
116 116
             return $value;
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      */
128 128
     public function toJson(int $options = 0): string
129 129
     {
130
-        return (string)\json_encode($this->jsonSerialize(), $options);
130
+        return (string) \json_encode($this->jsonSerialize(), $options);
131 131
     }
132 132
 
133 133
     /**
Please login to merge, or discard this patch.
src/IR/Type.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     private function __construct(string $name)
57 57
     {
58
-        \assert(self::isValid($name), 'Invalid type ' . $name);
58
+        \assert(self::isValid($name), 'Invalid type '.$name);
59 59
 
60 60
         $this->name   = $name;
61 61
         $this->parent = $this->getInheritanceSequence($name);
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     private function bootInheritance(\SplStack $stack, array $children = []): void
82 82
     {
83
-        $push = function (string $type) use ($stack): void {
83
+        $push = function(string $type) use ($stack): void {
84 84
             self::$inheritance[$type]   = \array_values(\iterator_to_array($stack));
85 85
             self::$inheritance[$type][] = static::ROOT_TYPE;
86 86
 
Please login to merge, or discard this patch.