Test Failed
Push — master ( 3fa183...47fb36 )
by Gerrit
02:37
created
php/Lexing/SqlTokensClass.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $root = new SqlAstRootClass([], $this);
46 46
 
47 47
         /** @var array<SqlAstTokenNode> $tokenNodes */
48
-        $tokenNodes = array_map(function (SqlTokenInstance $token) use ($root) {
48
+        $tokenNodes = array_map(function(SqlTokenInstance $token) use ($root) {
49 49
             return new SqlAstTokenNode($root, $token);
50 50
         }, $this->tokens);
51 51
 
@@ -61,14 +61,14 @@  discard block
 block discarded – undo
61 61
 
62 62
     public function withoutWhitespace(): SqlTokens
63 63
     {
64
-        return new self(array_filter($this->tokens, function (SqlTokenInstance $token) {
64
+        return new self(array_filter($this->tokens, function(SqlTokenInstance $token) {
65 65
             return !$token->is(SqlToken::SPACE());
66 66
         }), $this->originalSql);
67 67
     }
68 68
 
69 69
     public function withoutComments(): SqlTokens
70 70
     {
71
-        return new self(array_filter($this->tokens, function (SqlTokenInstance $token) {
71
+        return new self(array_filter($this->tokens, function(SqlTokenInstance $token) {
72 72
             return !$token->is(SqlToken::COMMENT());
73 73
         }), $this->originalSql);
74 74
     }
Please login to merge, or discard this patch.
php/Parsing/AbstractSyntaxTree/SqlAstConjunction.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
             if ($nextNode instanceof SqlAstTokenNode) {
65 65
                 /** @var bool $isConjunction */
66 66
                 $isConjunction = max(
67
-                    $nextNode->is(SqlToken::AND()),
68
-                    $nextNode->is(SqlToken::OR())
67
+                    $nextNode->is(SqlToken:: AND ()),
68
+                    $nextNode->is(SqlToken:: OR ())
69 69
                 );
70 70
 
71 71
                 if ($isConjunction) {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
     public function hash(): string
103 103
     {
104
-        return md5(implode('.', array_map(function (SqlAstNode $node) {
104
+        return md5(implode('.', array_map(function(SqlAstNode $node) {
105 105
             return $node->hash();
106 106
         }, $this->children())));
107 107
     }
Please login to merge, or discard this patch.