Test Failed
Push — master ( 6bac61...6350a6 )
by Kirill
03:02
created
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/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/AbstractValue.php 1 patch
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.
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.