Passed
Pull Request — master (#485)
by
unknown
02:56
created
src/Components/AlterOperation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
                     } elseif (($token->value === ',') && ($brackets === 0)) {
425 425
                         break;
426 426
                     }
427
-                } elseif (! self::checkIfTokenQuotedSymbol($token)) {
427
+                } elseif (!self::checkIfTokenQuotedSymbol($token)) {
428 428
                     // If the current token is "SET" or "ENUM", we want to avoid the token between their parenthesis in
429 429
                     // the unknown tokens.
430 430
                     if (in_array($token->value, ['SET', 'ENUM'], true)) {
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
                             );
444 444
                             break;
445 445
                         }
446
-                    } elseif (! empty(Parser::$statementParsers[$token->value])) {
446
+                    } elseif (!empty(Parser::$statementParsers[$token->value])) {
447 447
                         // We have reached the end of ALTER operation and suddenly found
448 448
                         // a start to new statement, but have not found a delimiter between them
449 449
                         $parser->error(
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
                     } elseif (
455 455
                         (array_key_exists($arrayKey, self::$databaseOptions)
456 456
                         || array_key_exists($arrayKey, self::$tableOptions))
457
-                        && ! self::checkIfColumnDefinitionKeyword($arrayKey)
457
+                        && !self::checkIfColumnDefinitionKeyword($arrayKey)
458 458
                     ) {
459 459
                         // This alter operation has finished, which means a comma
460 460
                         // was missing before start of new alter operation
Please login to merge, or discard this patch.