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