@@ -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\Grammar; |
| 11 | 11 | |
@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | $nil->code = $code++; |
| 287 | 287 | } |
| 288 | 288 | |
| 289 | - \usort($this->_symbols, function ($a, $b) { |
|
| 289 | + \usort($this->_symbols, function($a, $b) { |
|
| 290 | 290 | return $a->code <=> $b->code; |
| 291 | 291 | }); |
| 292 | 292 | } |
@@ -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 | |
@@ -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 | |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | $this->context->debug("Used aux table:\n"); |
| 320 | 320 | } |
| 321 | 321 | $this->context->naux = $this->context->nclasses; |
| 322 | - for (; ;) { |
|
| 322 | + for (;;) { |
|
| 323 | 323 | $maxgain = 0; |
| 324 | 324 | $maxaux = null; |
| 325 | 325 | $pre = null; |
@@ -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\CodeGen; |
| 11 | 11 | |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | protected function skipif(string $spec): bool |
| 282 | 282 | { |
| 283 | 283 | dump($spec); |
| 284 | - [ $dump, $test ] = \explode(' ', $spec, 2); |
|
| 284 | + [$dump, $test] = \explode(' ', $spec, 2); |
|
| 285 | 285 | $test = \trim($test); |
| 286 | 286 | switch ($test) { |
| 287 | 287 | case '-a': |
@@ -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\CodeGen; |
| 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\CodeGen\Language; |
| 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; |
| 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 | |
@@ -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 | |