Passed
Pull Request — master (#337)
by
unknown
24:02
created
src/Components/AlterOperation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -280,13 +280,13 @@  discard block
 block discarded – undo
280 280
                     } elseif (($token->value === ',') && ($brackets === 0)) {
281 281
                         break;
282 282
                     }
283
-                } elseif (! self::checkIfTokenQuotedSymbol($token)) {
284
-                    if (! empty(Parser::$STATEMENT_PARSERS[$token->value])) {
283
+                } elseif (!self::checkIfTokenQuotedSymbol($token)) {
284
+                    if (!empty(Parser::$STATEMENT_PARSERS[$token->value])) {
285 285
                         // We have reached the end of ALTER operation and suddenly found
286 286
                         // a start to new statement, but have not find a delimiter between them
287 287
 
288 288
                         if (
289
-                            ! ($token->value === 'SET' &&
289
+                            !($token->value === 'SET' &&
290 290
                             ($list->tokens[$list->idx - 1]->value === 'CHARACTER' ||
291 291
                             $list->tokens[$list->idx + 1]->value === '(' ||
292 292
                             $list->tokens[$list->idx + 2]->value === '(')
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
                     } elseif (
302 302
                         (array_key_exists($arrayKey, self::$DB_OPTIONS)
303 303
                         || array_key_exists($arrayKey, self::$TABLE_OPTIONS))
304
-                        && ! self::checkIfColumnDefinitionKeyword($arrayKey)
304
+                        && !self::checkIfColumnDefinitionKeyword($arrayKey)
305 305
                     ) {
306 306
                         // This alter operation has finished, which means a comma
307 307
                         // was missing before start of new alter operation
Please login to merge, or discard this patch.