@@ -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 Railt\SDL\Exceptions; |
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 Railt\SDL\Exceptions; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the |
6 | 6 | * LICENSE 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 Railt\SDL\Parser; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the |
6 | 6 | * LICENSE 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 Railt\SDL\Parser; |
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 Railt\SDL\Parser; |
11 | 11 | |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | */ |
22 | 22 | class Factory |
23 | 23 | { |
24 | - public const GRAMMAR_FILE = __DIR__ . '/../../resources/grammar/sdl.pp'; |
|
24 | + public const GRAMMAR_FILE = __DIR__.'/../../resources/grammar/sdl.pp'; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @var ParserInterface|null |
@@ -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 Railt\SDL\Schema; |
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 Railt\SDL\Schema; |
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 Railt\SDL; |
11 | 11 | |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | { |
147 | 147 | $this->load($document); |
148 | 148 | |
149 | - $build = function (Definition $definition): void { |
|
149 | + $build = function(Definition $definition): void { |
|
150 | 150 | $this->stack->push($definition); |
151 | 151 | |
152 | 152 | if ($definition instanceof Compilable) { |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | $this->typeCoercion->apply($definition); |
158 | 158 | } |
159 | 159 | |
160 | - if (! ($definition instanceof StandardType)) { |
|
160 | + if (!($definition instanceof StandardType)) { |
|
161 | 161 | $this->typeValidator->group(Definitions::class)->validate($definition); |
162 | 162 | } |
163 | 163 | |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | */ |
229 | 229 | private function onCompile(): \Closure |
230 | 230 | { |
231 | - return function (Readable $readable): Document { |
|
231 | + return function(Readable $readable): Document { |
|
232 | 232 | $ast = $this->parser->parse($readable); |
233 | 233 | |
234 | 234 | return $this->complete(new DocumentBuilder($ast, $readable, $this)); |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | public function getPersister(): Storage |
269 | 269 | { |
270 | 270 | \trigger_error( |
271 | - __METHOD__ . ' was renamed to getStorage and will be deleted on next release', |
|
271 | + __METHOD__.' was renamed to getStorage and will be deleted on next release', |
|
272 | 272 | \E_USER_DEPRECATED |
273 | 273 | ); |
274 | 274 |