Passed
Pull Request — master (#369)
by Maurício
21:47 queued 11:46
created
src/Context.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
         $str = strtoupper($str);
258 258
 
259 259
         if (isset(static::$KEYWORDS[$str])) {
260
-            if ($isReserved && ! (static::$KEYWORDS[$str] & Token::FLAG_KEYWORD_RESERVED)) {
260
+            if ($isReserved && !(static::$KEYWORDS[$str] & Token::FLAG_KEYWORD_RESERVED)) {
261 261
                 return null;
262 262
             }
263 263
 
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      */
280 280
     public static function isOperator($str)
281 281
     {
282
-        if (! isset(static::$OPERATORS[$str])) {
282
+        if (!isset(static::$OPERATORS[$str])) {
283 283
             return null;
284 284
         }
285 285
 
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
             $context = self::$contextPrefix . $context;
487 487
         }
488 488
 
489
-        if (! class_exists($context)) {
489
+        if (!class_exists($context)) {
490 490
             throw @new LoaderException('Specified context ("' . $context . '") does not exist.', $context);
491 491
         }
492 492
 
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
                     $i -= 2;
523 523
                     $part = substr($context, $i, 2);
524 524
                     /* No more numeric parts to strip */
525
-                    if (! is_numeric($part)) {
525
+                    if (!is_numeric($part)) {
526 526
                         break 2;
527 527
                     }
528 528
                 } while (intval($part) === 0 && $i > 0);
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
             return $str;
590 590
         }
591 591
 
592
-        if ((static::$MODE & SqlModes::NO_ENCLOSING_QUOTES) && (! static::isKeyword($str, true))) {
592
+        if ((static::$MODE & SqlModes::NO_ENCLOSING_QUOTES) && (!static::isKeyword($str, true))) {
593 593
             return $str;
594 594
         }
595 595
 
Please login to merge, or discard this patch.