Test Failed
Push — master ( 2d53c5...8b1ae1 )
by Kirill
02:39
created
src/Frontend/IR/JoinableOpcode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         $this->file = $file;
53 53
         $this->offset = $offset;
54 54
         $this->description = function() use ($opcode): string {
55
-            return \trim((string)(new \ReflectionObject($opcode))->getDocComment(), " \t\n\r\0\x0B/*");
55
+            return \trim((string) (new \ReflectionObject($opcode))->getDocComment(), " \t\n\r\0\x0B/*");
56 56
         };
57 57
     }
58 58
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     public function getDescription(): string
63 63
     {
64 64
         return \preg_replace_callback('/\$(\d+)/iu', function(array $m): string {
65
-            return $this->operandToString($this->operands[(int)$m[1]] ?? null);
65
+            return $this->operandToString($this->operands[(int) $m[1]] ?? null);
66 66
         }, ($this->description)());
67 67
     }
68 68
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     public function __toString(): string
113 113
     {
114 114
         return \vsprintf('%4s %-10s %-3d %-3d %s', [
115
-            '#' . $this->getId(),
115
+            '#'.$this->getId(),
116 116
             \pathinfo($this->getFile()->getPathname(), \PATHINFO_FILENAME),
117 117
             $this->getLine(),
118 118
             $this->getColumn(),
Please login to merge, or discard this patch.
src/Frontend/AST/Value/StringValueNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             $result
40 40
         );
41 41
 
42
-        return '(string)' . \sprintf('"%s"', $result);
42
+        return '(string)'.\sprintf('"%s"', $result);
43 43
     }
44 44
 
45 45
     /**
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     private function renderUtfSequences(string $body): string
102 102
     {
103
-        $callee = function (array $matches): string {
103
+        $callee = function(array $matches): string {
104 104
             [$char, $code] = [$matches[0], $matches[1]];
105 105
 
106 106
             try {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     {
131 131
         try {
132 132
             if (\function_exists('\\json_decode')) {
133
-                $result = @\json_decode('{"char": "' . $body . '"}')->char;
133
+                $result = @\json_decode('{"char": "'.$body.'"}')->char;
134 134
 
135 135
                 if (\json_last_error() === \JSON_ERROR_NONE) {
136 136
                     $body = $result;
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      */
151 151
     private function renderSpecialCharacters(string $body): string
152 152
     {
153
-        $callee = function (array $matches): string {
153
+        $callee = function(array $matches): string {
154 154
             [$char, $code] = [$matches[0], $matches[1]];
155 155
 
156 156
             switch ($code) {
Please login to merge, or discard this patch.
src/Frontend/AST/Value/BooleanValueNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,6 @@
 block discarded – undo
29 29
      */
30 30
     public function toString(): string
31 31
     {
32
-        return '(bool)' . $this->getChild(0)->getValue();
32
+        return '(bool)'.$this->getChild(0)->getValue();
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/Frontend/AST/Value/ConstantValueNode.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
     public function toPrimitive(): string
23 23
     {
24
-        return (string)$this->getChild(0)->getValue();
24
+        return (string) $this->getChild(0)->getValue();
25 25
     }
26 26
 
27 27
     /**
@@ -29,6 +29,6 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function toString(): string
31 31
     {
32
-        return '(const)' . $this->toPrimitive();
32
+        return '(const)'.$this->toPrimitive();
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/Frontend/AST/Value/NumberValueNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function toString(): string
25 25
     {
26
-        return '(number)' . $this->toPrimitive();
26
+        return '(number)'.$this->toPrimitive();
27 27
     }
28 28
 
29 29
     /**
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
                 return $this->parseInt($value->getValue());
60 60
         }
61 61
 
62
-        return (float)$value->getValue();
62
+        return (float) $value->getValue();
63 63
     }
64 64
 
65 65
     /**
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     private function parseExponential(string $value): float
115 115
     {
116
-        return (float)$value;
116
+        return (float) $value;
117 117
     }
118 118
 
119 119
     /**
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     private function parseFloat(string $value): float
133 133
     {
134
-        return (float)$value;
134
+        return (float) $value;
135 135
     }
136 136
 
137 137
     /**
Please login to merge, or discard this patch.