Passed
Pull Request — master (#337)
by
unknown
13:07
created
src/Components/AlterOperation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -280,12 +280,12 @@  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
-                        if (! ($token->value === 'SET' && 
288
+                        if (!($token->value === 'SET' && 
289 289
                             ($list->tokens[$list->idx - 1]->value === 'CHARACTER' || 
290 290
                             $list->tokens[$list->idx + 1]->value === '(' || 
291 291
                             $list->tokens[$list->idx + 2]->value === '('))) {
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
                     } elseif (
299 299
                         (array_key_exists($arrayKey, self::$DB_OPTIONS)
300 300
                         || array_key_exists($arrayKey, self::$TABLE_OPTIONS))
301
-                        && ! self::checkIfColumnDefinitionKeyword($arrayKey)
301
+                        && !self::checkIfColumnDefinitionKeyword($arrayKey)
302 302
                     ) {
303 303
                         // This alter operation has finished, which means a comma
304 304
                         // was missing before start of new alter operation
Please login to merge, or discard this patch.