Test Failed
Push — master ( 6bac61...6350a6 )
by Kirill
03:02
created
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.
src/Backend/Context/DocumentContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,6 +83,6 @@
 block discarded – undo
83 83
      */
84 84
     public function __toString(): string
85 85
     {
86
-        return (string)$this->context;
86
+        return (string) $this->context;
87 87
     }
88 88
 }
Please login to merge, or discard this patch.
src/Compiler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     public function compile(Readable $file): DocumentInterface
101 101
     {
102
-        return $this->store->memoize($file, function (Readable $file): DocumentInterface {
102
+        return $this->store->memoize($file, function(Readable $file): DocumentInterface {
103 103
             return $this->generate($file, $this->ir($file));
104 104
         });
105 105
     }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     public function generate(Readable $file, iterable $opcodes): DocumentInterface
116 116
     {
117
-        return $this->wrap(function () use ($file, $opcodes) {
117
+        return $this->wrap(function() use ($file, $opcodes) {
118 118
             return $this->back->run($file, $opcodes);
119 119
         });
120 120
     }
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      */
150 150
     public function ir(Readable $readable): iterable
151 151
     {
152
-        return $this->wrap(function () use ($readable) {
152
+        return $this->wrap(function() use ($readable) {
153 153
             return $this->front->load($readable);
154 154
         });
155 155
     }
Please login to merge, or discard this patch.