@@ -347,8 +347,8 @@ discard block |
||
347 | 347 | } elseif (($token->value === ',') && ($brackets === 0)) { |
348 | 348 | break; |
349 | 349 | } |
350 | - } elseif (! self::checkIfTokenQuotedSymbol($token)) { |
|
351 | - if (! empty(Parser::$STATEMENT_PARSERS[$token->value])) { |
|
350 | + } elseif (!self::checkIfTokenQuotedSymbol($token)) { |
|
351 | + if (!empty(Parser::$STATEMENT_PARSERS[$token->value])) { |
|
352 | 352 | $list->idx++; // Ignore the current token |
353 | 353 | $nextToken = $list->getNext(); |
354 | 354 | |
@@ -370,7 +370,7 @@ discard block |
||
370 | 370 | } elseif ( |
371 | 371 | (array_key_exists($arrayKey, self::$DB_OPTIONS) |
372 | 372 | || array_key_exists($arrayKey, self::$TABLE_OPTIONS)) |
373 | - && ! self::checkIfColumnDefinitionKeyword($arrayKey) |
|
373 | + && !self::checkIfColumnDefinitionKeyword($arrayKey) |
|
374 | 374 | ) { |
375 | 375 | // This alter operation has finished, which means a comma |
376 | 376 | // was missing before start of new alter operation |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | break; |
134 | 134 | } |
135 | 135 | } elseif ($state === 2) { |
136 | - if (! ($token->type === Token::TYPE_KEYWORD && $token->keyword === 'AS')) { |
|
136 | + if (!($token->type === Token::TYPE_KEYWORD && $token->keyword === 'AS')) { |
|
137 | 137 | $parser->error('AS keyword was expected.', $token); |
138 | 138 | break; |
139 | 139 | } |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | $list->idx++; // Ignore the current token |
146 | 146 | $nextKeyword = $list->getNext(); |
147 | 147 | |
148 | - if (! ($token->value === '(' && ($nextKeyword && $nextKeyword->value === 'SELECT'))) { |
|
148 | + if (!($token->value === '(' && ($nextKeyword && $nextKeyword->value === 'SELECT'))) { |
|
149 | 149 | $parser->error('Subquery of the CTE was expected.', $token); |
150 | 150 | $list->idx = $idxBeforeGetNext; |
151 | 151 | break; |
@@ -313,7 +313,7 @@ discard block |
||
313 | 313 | } |
314 | 314 | |
315 | 315 | ++$list->idx; |
316 | - if (! isset($list->tokens[$list->idx])) { |
|
316 | + if (!isset($list->tokens[$list->idx])) { |
|
317 | 317 | break; |
318 | 318 | } |
319 | 319 |