Test Failed
Push — master ( a412f3...37f3d4 )
by Gerrit
08:22
created
tests/php/unit/Parsing/SqlParserClassTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     public function setUp(): void
51 51
     {
52 52
         $this->tokenizer = $this->createMock(SqlTokenizer::class);
53
-        $this->mutators = array(function () {});
53
+        $this->mutators = array(function() {});
54 54
 
55 55
         $this->subject = new SqlParserClass($this->tokenizer, $this->mutators);
56 56
     }
Please login to merge, or discard this patch.
php/AbstractSyntaxTree/SqlAstWhere.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 
95 95
         $operator = new SqlAstTokenNode($this->parent, new SqlTokenInstanceClass(
96 96
             'AND',
97
-            SqlToken::AND(),
97
+            SqlToken:: AND (),
98 98
             $this->line,
99 99
             $this->column
100 100
         ));
Please login to merge, or discard this patch.
php/AbstractSyntaxTree/SqlAstParenthesis.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     public function hash(): string
96 96
     {
97
-        return md5(implode('.', array_map(function (SqlAstExpression $expression) {
97
+        return md5(implode('.', array_map(function(SqlAstExpression $expression) {
98 98
             return $expression->hash();
99 99
         }, $this->expressions)));
100 100
     }
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
     public function toSql(): string
123 123
     {
124
-        return '(' . implode(', ', array_map(function (SqlAstExpression $expression) {
124
+        return '(' . implode(', ', array_map(function(SqlAstExpression $expression) {
125 125
             return $expression->toSql();
126 126
         }, $this->expressions)) . ')';
127 127
     }
Please login to merge, or discard this patch.
php/AbstractSyntaxTree/SqlAstRootClass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 
78 78
     public function toSql(): string
79 79
     {
80
-        return implode(' ', array_map(function (SqlAstNode $node) {
80
+        return implode(' ', array_map(function(SqlAstNode $node) {
81 81
             return $node->toSql();
82 82
         }, $this->children()));
83 83
     }
Please login to merge, or discard this patch.