Test Failed
Push — master ( ecd78b...d05c81 )
by Kirill
02:43
created
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.
src/Frontend/IR/Value/ConstantValue.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 '(const)' . parent::__toString();
48
+        return '(const)'.parent::__toString();
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/Frontend/IR/Opcode.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -77,11 +77,11 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function __toString(): string
79 79
     {
80
-        $operands = \array_map(function ($value): string {
80
+        $operands = \array_map(function($value): string {
81 81
             return $this->operandToString($value);
82 82
         }, $this->operands);
83 83
 
84
-        return \sprintf('%-20s %s', $this->getName(), '{ ' . \implode(', ', $operands) . ' }');
84
+        return \sprintf('%-20s %s', $this->getName(), '{ '.\implode(', ', $operands).' }');
85 85
     }
86 86
 
87 87
     /**
@@ -92,26 +92,26 @@  discard block
 block discarded – undo
92 92
     {
93 93
         switch (true) {
94 94
             case $value instanceof NodeInterface:
95
-                return '<' . $value->getName() . '>';
95
+                return '<'.$value->getName().'>';
96 96
 
97 97
             case $value instanceof JoinedOpcode:
98
-                return '#' . $value->getId();
98
+                return '#'.$value->getId();
99 99
 
100 100
             case $value instanceof ValueInterface:
101
-                return (string)$value;
101
+                return (string) $value;
102 102
 
103 103
             case $value instanceof Readable:
104
-                return '(file)' . $value->getPathname();
104
+                return '(file)'.$value->getPathname();
105 105
 
106 106
             case \is_scalar($value):
107
-                $minified = \preg_replace('/\s+/', ' ', (string)$value);
108
-                return '[INVALID] "' . \addcslashes($minified, '"') . '"';
107
+                $minified = \preg_replace('/\s+/', ' ', (string) $value);
108
+                return '[INVALID] "'.\addcslashes($minified, '"').'"';
109 109
 
110 110
             case \is_array($value):
111
-                return '[INVALID] array(' . \implode(', ', \array_map([$this, 'operandToString'], $value)) . ')';
111
+                return '[INVALID] array('.\implode(', ', \array_map([$this, 'operandToString'], $value)).')';
112 112
 
113 113
             case \is_object($value):
114
-                return '[INVALID] ' . \get_class($value) . '#' . \spl_object_hash($value);
114
+                return '[INVALID] '.\get_class($value).'#'.\spl_object_hash($value);
115 115
         }
116 116
 
117 117
         return '';
Please login to merge, or discard this patch.