Passed
Pull Request — master (#384)
by
unknown
11:05
created
src/Context.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
         $str = strtoupper($str);
373 373
 
374 374
         if (isset(static::$KEYWORDS[$str])) {
375
-            if ($isReserved && ! (static::$KEYWORDS[$str] & Token::FLAG_KEYWORD_RESERVED)) {
375
+            if ($isReserved && !(static::$KEYWORDS[$str] & Token::FLAG_KEYWORD_RESERVED)) {
376 376
                 return null;
377 377
             }
378 378
 
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
      */
395 395
     public static function isOperator($str)
396 396
     {
397
-        if (! isset(static::$OPERATORS[$str])) {
397
+        if (!isset(static::$OPERATORS[$str])) {
398 398
             return null;
399 399
         }
400 400
 
@@ -599,7 +599,7 @@  discard block
 block discarded – undo
599 599
             $context = self::$contextPrefix . $context;
600 600
         }
601 601
 
602
-        if (! class_exists($context)) {
602
+        if (!class_exists($context)) {
603 603
             return false;
604 604
         }
605 605
 
@@ -636,7 +636,7 @@  discard block
 block discarded – undo
636 636
                 $i -= 2;
637 637
                 $part = substr($context, $i, 2);
638 638
                 /* No more numeric parts to strip */
639
-                if (! is_numeric($part)) {
639
+                if (!is_numeric($part)) {
640 640
                     break 2;
641 641
                 }
642 642
             } while (intval($part) === 0 && $i > 0);
@@ -811,7 +811,7 @@  discard block
 block discarded – undo
811 811
             return $str;
812 812
         }
813 813
 
814
-        if ((static::$MODE & self::SQL_MODE_NO_ENCLOSING_QUOTES) && (! static::isKeyword($str, true))) {
814
+        if ((static::$MODE & self::SQL_MODE_NO_ENCLOSING_QUOTES) && (!static::isKeyword($str, true))) {
815 815
             return $str;
816 816
         }
817 817
 
Please login to merge, or discard this patch.