Passed
Pull Request — master (#504)
by
unknown
02:50
created
src/Components/AlterOperation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
                     } elseif (($token->value === ',') && ($brackets === 0)) {
408 408
                         break;
409 409
                     }
410
-                } elseif (! self::checkIfTokenQuotedSymbol($token)) {
410
+                } elseif (!self::checkIfTokenQuotedSymbol($token)) {
411 411
                     // If the current token is "SET" or "ENUM", we want to avoid the token between their parenthesis in
412 412
                     // the unknown tokens.
413 413
                     if (in_array($token->value, ['SET', 'ENUM'], true)) {
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
                             );
427 427
                             break;
428 428
                         }
429
-                    } elseif (! empty(Parser::STATEMENT_PARSERS[$arrayKey])) {
429
+                    } elseif (!empty(Parser::STATEMENT_PARSERS[$arrayKey])) {
430 430
                         // We have reached the end of ALTER operation and suddenly found
431 431
                         // a start to new statement, but have not found a delimiter between them
432 432
                         $parser->error(
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
                     } elseif (
438 438
                         (array_key_exists($arrayKey, self::DATABASE_OPTIONS)
439 439
                         || array_key_exists($arrayKey, self::TABLE_OPTIONS))
440
-                        && ! self::checkIfColumnDefinitionKeyword($arrayKey)
440
+                        && !self::checkIfColumnDefinitionKeyword($arrayKey)
441 441
                     ) {
442 442
                         // This alter operation has finished, which means a comma
443 443
                         // was missing before start of new alter operation
Please login to merge, or discard this patch.