Passed
Push — master ( 77aa03...453f7d )
by Nikita
02:16
created
src/Lalr/Item.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     public function offsetGet($index)
79 79
     {
80 80
         if (!$this->offsetExists($index)) {
81
-            throw new LogicException("Offset $index does not exist");
81
+            throw new LogicException("offset $index does not exist");
82 82
         }
83 83
 
84 84
         return $this->production->body[$index + $this->pos];
Please login to merge, or discard this patch.
src/Compress/Compress.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 class Compress
20 20
 {
21 21
     const UNEXPECTED = 32767;
22
-    const DEFAULT = -32766;
22
+    const default = -32766;
23 23
     const VACANT = -32768;
24 24
 
25 25
     /**
@@ -480,7 +480,7 @@  discard block
 block discarded – undo
480 480
                         if ($cTermAction[$i][$j] === $table[$this->context->oTermIndex[$j]]) {
481 481
                             $cTermAction[$i][$j] = self::VACANT;
482 482
                         } elseif ($cTermAction[$i][$j] === self::VACANT) {
483
-                            $cTermAction[$i][$j] = self::DEFAULT;
483
+                            $cTermAction[$i][$j] = self::default;
484 484
                         }
485 485
                     }
486 486
                 }
Please login to merge, or discard this patch.
src/CodeGen/Template.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -431,7 +431,7 @@
 block discarded – undo
431 431
             case 'YYUNEXPECTED':
432 432
                 return \sprintf('%d', Compress::UNEXPECTED);
433 433
             case 'YYDEFAULT':
434
-                return \sprintf('%d', Compress::DEFAULT);
434
+                return \sprintf('%d', Compress::default);
435 435
             case 'YYMAXLEX':
436 436
                 return \sprintf('%d', \count($this->compress->yytranslate));
437 437
             case 'YYLAST':
Please login to merge, or discard this patch.