@@ -78,7 +78,7 @@ |
||
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]; |
@@ -19,7 +19,7 @@ discard block |
||
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 |
||
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 | } |
@@ -431,7 +431,7 @@ |
||
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': |