Test Failed
Push — master ( 47fb36...af56a4 )
by Gerrit
02:33
created
php/Parsing/AbstractSyntaxTree/SqlAstSelect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 
177 177
     public function hash(): string
178 178
     {
179
-        return md5(implode('.', array_map(function (SqlAstNode $node) {
179
+        return md5(implode('.', array_map(function(SqlAstNode $node) {
180 180
             return $node->hash();
181 181
         }, $this->children())));
182 182
     }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 
212 212
         /** @var SqlAstExpression $column */
213 213
         foreach ($this->columns as $alias => $column) {
214
-            $columnsSql[] = $column->toSql() . (is_string($alias) ?(' ' . $alias) :'');
214
+            $columnsSql[] = $column->toSql() . (is_string($alias) ? (' ' . $alias) : '');
215 215
         }
216 216
 
217 217
         $sql .= implode(", ", $columnsSql);
Please login to merge, or discard this patch.
php/Parsing/AbstractSyntaxTree/SqlAstColumn.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
     public function hash(): string
107 107
     {
108
-        return md5(implode('.', array_map(function (SqlAstNode $node) {
108
+        return md5(implode('.', array_map(function(SqlAstNode $node) {
109 109
             return $node->hash();
110 110
         }, $this->children())));
111 111
     }
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
     public function toSql(): string
134 134
     {
135
-        return implode('.', array_map(function (SqlAstNode $node) {
135
+        return implode('.', array_map(function(SqlAstNode $node) {
136 136
             return $node->toSql();
137 137
         }, $this->children()));
138 138
     }
Please login to merge, or discard this patch.
php/Parsing/AbstractSyntaxTree/SqlAstFrom.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     public function hash(): string
71 71
     {
72
-        return md5(implode('.', array_map(function (SqlAstNode $node) {
72
+        return md5(implode('.', array_map(function(SqlAstNode $node) {
73 73
             return $node->hash();
74 74
         }, $this->children())));
75 75
     }
@@ -96,6 +96,6 @@  discard block
 block discarded – undo
96 96
 
97 97
     public function toSql(): string
98 98
     {
99
-        return "FROM " . $this->tableName->toSql() . (is_object($this->alias) ?(' ' . $this->alias->toSql()) :'');
99
+        return "FROM " . $this->tableName->toSql() . (is_object($this->alias) ? (' ' . $this->alias->toSql()) : '');
100 100
     }
101 101
 }
Please login to merge, or discard this patch.