@@ -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\Language; |
11 | 11 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | public function writeQuoted(string $text) |
105 | 105 | { |
106 | 106 | $buf = []; |
107 | - for($i = 0; $i < \mb_strlen($text); $i++) { |
|
107 | + for ($i = 0; $i < \mb_strlen($text); $i++) { |
|
108 | 108 | $char = $text[$i]; |
109 | 109 | |
110 | 110 | if ($char == '\\' || $char == '"' || $char == '$') { |
@@ -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 | |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | */ |
281 | 281 | protected function skipif(string $spec): bool |
282 | 282 | { |
283 | - [ $dump, $test ] = \explode(' ', $spec, 2); |
|
283 | + [$dump, $test] = \explode(' ', $spec, 2); |
|
284 | 284 | $test = \trim($test); |
285 | 285 | switch ($test) { |
286 | 286 | case '-a': |