@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace PhpYacc\Exception; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace PhpYacc\Exception; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace PhpYacc\Exception; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace PhpYacc\Lalr; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace PhpYacc\Lalr; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace PhpYacc\Lalr; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace PhpYacc\Compress; |
11 | 11 |
@@ -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 | } |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace PhpYacc\Compress; |
11 | 11 | |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | $this->context->debug("Used aux table:\n"); |
322 | 322 | } |
323 | 323 | $this->context->countAux = $this->context->countClasses; |
324 | - for (; ;) { |
|
324 | + for (;;) { |
|
325 | 325 | $maxGain = 0; |
326 | 326 | $maxAux = null; |
327 | 327 | $pre = null; |