Passed
Push — master ( c4efad...4ae21c )
by Maurício
03:47 queued 20s
created
src/Parsers/Conditions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             }
120 120
 
121 121
             if (
122
-                ! $hasSubQuery
122
+                !$hasSubQuery
123 123
                 && $token->keyword !== null && $token->type === TokenType::Keyword
124 124
                 && $brackets > 0
125 125
                 && (Parser::STATEMENT_PARSERS[$token->keyword] ?? '') !== ''
@@ -156,13 +156,13 @@  discard block
 block discarded – undo
156 156
             if (
157 157
                 ($token->type === TokenType::Keyword)
158 158
                 && ($token->flags & Token::FLAG_KEYWORD_RESERVED)
159
-                && ! ($token->flags & Token::FLAG_KEYWORD_FUNCTION)
159
+                && !($token->flags & Token::FLAG_KEYWORD_FUNCTION)
160 160
             ) {
161 161
                 if ($token->value === 'BETWEEN') {
162 162
                     $betweenBefore = true;
163 163
                 }
164 164
 
165
-                if ($brackets === 0 && ! in_array($token->value, self::ALLOWED_KEYWORDS, true)) {
165
+                if ($brackets === 0 && !in_array($token->value, self::ALLOWED_KEYWORDS, true)) {
166 166
                     break;
167 167
                 }
168 168
             }
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
                     }
181 181
 
182 182
                     --$brackets;
183
-                } elseif (! $hasSubQuery && in_array($token->value, self::COMPARISON_OPERATORS, true)) {
183
+                } elseif (!$hasSubQuery && in_array($token->value, self::COMPARISON_OPERATORS, true)) {
184 184
                     $expr->operator = $token->value;
185 185
                 }
186 186
             }
Please login to merge, or discard this patch.
src/Components/Condition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public string $rightOperand = '';
33 33
 
34 34
     /** @param string $expr the condition or the operator */
35
-    public function __construct(string|null $expr = null)
35
+    public function __construct(string | null $expr = null)
36 36
     {
37 37
         $this->expr = trim((string) $expr);
38 38
     }
Please login to merge, or discard this patch.