Test Failed
Push — master ( 6bac61...6350a6 )
by Kirill
03:02
created
src/Frontend/System/DefinitionSystem.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param Readable $file
35
-     * @param RuleInterface|ProvidesType|ProvidesName $ast
36
-     * @return \Generator|mixed
35
+     * @param RuleInterface $ast
36
+     * @return \Generator
37 37
      */
38 38
     public function apply(Readable $file, RuleInterface $ast)
39 39
     {
Please login to merge, or discard this patch.
src/Console/SDLGrammarCompileCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @var string
23 23
      */
24
-    private const SCHEMA_SDL_GRAMMAR = __DIR__ . '/../../resources/grammar.pp2';
24
+    private const SCHEMA_SDL_GRAMMAR = __DIR__.'/../../resources/grammar.pp2';
25 25
 
26 26
     /**
27 27
      * @var string
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         Compiler::load(File::fromPathname(self::SCHEMA_SDL_GRAMMAR))
44 44
             ->setClassName('Parser')
45 45
             ->setNamespace('Railt\\SDL\\Frontend')
46
-            ->saveTo(__DIR__ . '/../Frontend');
46
+            ->saveTo(__DIR__.'/../Frontend');
47 47
 
48 48
         $this->info('OK');
49 49
     }
Please login to merge, or discard this patch.
src/Frontend/AST/Invocation/ArgumentInvocationNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
      */
28 28
     public function getValue(): ValueInterface
29 29
     {
30
-        throw new \LogicException(__METHOD__ . ' not implemented yet');
30
+        throw new \LogicException(__METHOD__.' not implemented yet');
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Frontend/AST/Definition/InterfaceDefinitionNode.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,6 +31,6 @@
 block discarded – undo
31 31
      */
32 32
     public function getType(): TypeInterface
33 33
     {
34
-        return Type::of(Type::INTERFACE);
34
+        return Type::of(Type::interface);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Frontend/IR/Opcode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,6 +125,6 @@
 block discarded – undo
125 125
      */
126 126
     public function __toString(): string
127 127
     {
128
-        return $this->operation . ' ' . \implode(', ', $this->operands);
128
+        return $this->operation.' '.\implode(', ', $this->operands);
129 129
     }
130 130
 }
Please login to merge, or discard this patch.
src/Frontend/IR/Value/ValueInterface.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * @param TypeDefinition $type
38 38
      * @return bool
39 39
      */
40
-    public function instanceOf(TypeDefinition $type): bool;
40
+    public function instanceof(TypeDefinition $type): bool;
41 41
 
42 42
     /**
43 43
      * @param TypeInterface $type
Please login to merge, or discard this patch.
src/Frontend/IR/Value/AbstractValue.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     public function __toString(): string
128 128
     {
129 129
         if ($this->representation === null) {
130
-            return '? of ' . $this->getType();
130
+            return '? of '.$this->getType();
131 131
         }
132 132
 
133 133
         return $this->representation;
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      * @param TypeDefinition $type
109 109
      * @return bool
110 110
      */
111
-    public function instanceOf(TypeDefinition $type): bool
111
+    public function instanceof(TypeDefinition $type): bool
112 112
     {
113 113
         return $this->type->instanceOf($type);
114 114
     }
Please login to merge, or discard this patch.
src/Frontend/SystemManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 
116 116
             switch (true) {
117 117
                 case \is_callable($value):
118
-                    $result->send($this->deferred((int)$key, $value));
118
+                    $result->send($this->deferred((int) $key, $value));
119 119
                     break;
120 120
 
121 121
                 case $value instanceof Prototype:
Please login to merge, or discard this patch.
src/Backend/Context/LocalContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,6 +113,6 @@
 block discarded – undo
113 113
      */
114 114
     public function __toString(): string
115 115
     {
116
-        return (string)$this->context;
116
+        return (string) $this->context;
117 117
     }
118 118
 }
Please login to merge, or discard this patch.