Test Failed
Push — master ( e081e8...a6938b )
by Kirill
02:31
created
src/Frontend/AST/Invocation/StringValueNode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     private function renderUtfSequences(string $body): string
95 95
     {
96
-        $callee = function (array $matches): string {
96
+        $callee = function(array $matches): string {
97 97
             [$char, $code] = [$matches[0], $matches[1]];
98 98
 
99 99
             try {
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         try {
125 125
             if (\function_exists('\\json_decode')) {
126
-                $result = @\json_decode('{"char": "' . $body . '"}')->char;
126
+                $result = @\json_decode('{"char": "'.$body.'"}')->char;
127 127
 
128 128
                 if (\json_last_error() === \JSON_ERROR_NONE) {
129 129
                     $body = $result;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     private function renderSpecialCharacters(string $body): string
145 145
     {
146
-        $callee = function (array $matches): string {
146
+        $callee = function(array $matches): string {
147 147
             [$char, $code] = [$matches[0], $matches[1]];
148 148
 
149 149
             switch ($code) {
Please login to merge, or discard this patch.
src/Frontend/AST/Invocation/NumberValueNode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             return new IntValue($value, $this->getOffset());
33 33
         }
34 34
 
35
-        return new FloatValue((float)$value, $this->getOffset());
35
+        return new FloatValue((float) $value, $this->getOffset());
36 36
     }
37 37
 
38 38
     /**
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                 return $this->parseInt($value->getValue());
61 61
         }
62 62
 
63
-        return (float)$value->getValue();
63
+        return (float) $value->getValue();
64 64
     }
65 65
 
66 66
     /**
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     private function parseExponential(string $value): float
116 116
     {
117
-        return (float)$value;
117
+        return (float) $value;
118 118
     }
119 119
 
120 120
     /**
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      */
133 133
     private function parseFloat(string $value): float
134 134
     {
135
-        return (float)$value;
135
+        return (float) $value;
136 136
     }
137 137
 
138 138
     /**
Please login to merge, or discard this patch.
src/Frontend/IR/Value/BooleanValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,6 @@
 block discarded – undo
45 45
      */
46 46
     public function __toString(): string
47 47
     {
48
-        return '(bool)' . parent::__toString();
48
+        return '(bool)'.parent::__toString();
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/Frontend/IR/Value/StringValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,6 +53,6 @@
 block discarded – undo
53 53
      */
54 54
     public function __toString(): string
55 55
     {
56
-        return '(string)' . parent::__toString();
56
+        return '(string)'.parent::__toString();
57 57
     }
58 58
 }
Please login to merge, or discard this patch.
src/Frontend/IR/Value/NullValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,6 +44,6 @@
 block discarded – undo
44 44
      */
45 45
     public function __toString(): string
46 46
     {
47
-        return '(null)' . parent::__toString();
47
+        return '(null)'.parent::__toString();
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
src/Frontend/IR/Value/TypeValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function __toString(): string
41 41
     {
42
-        return 'typeof ' . parent::__toString();
42
+        return 'typeof '.parent::__toString();
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
src/Frontend/IR/Value/AnyValue.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 __toString(): string
29 29
     {
30
-        return '(any)' . parent::__toString();
30
+        return '(any)'.parent::__toString();
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Frontend/IR/Value/IntValue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function toString(): string
31 31
     {
32
-        return (string)$this->getValue();
32
+        return (string) $this->getValue();
33 33
     }
34 34
 
35 35
     /**
@@ -45,6 +45,6 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public function __toString(): string
47 47
     {
48
-        return '(int)' . parent::__toString();
48
+        return '(int)'.parent::__toString();
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/Frontend/IR/Value/FloatValue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             return $result;
36 36
         }
37 37
 
38
-        return $result . '.0';
38
+        return $result.'.0';
39 39
     }
40 40
 
41 41
     /**
@@ -51,6 +51,6 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function __toString(): string
53 53
     {
54
-        return '(float)' . parent::__toString();
54
+        return '(float)'.parent::__toString();
55 55
     }
56 56
 }
Please login to merge, or discard this patch.