@@ -11,7 +11,7 @@ |
||
11 | 11 | |
12 | 12 | declare(strict_types=1); |
13 | 13 | |
14 | -require_once __DIR__.'/AppKernel.php'; |
|
14 | +require_once __DIR__ . '/AppKernel.php'; |
|
15 | 15 | |
16 | 16 | use ProxyManager\Proxy\VirtualProxyInterface; |
17 | 17 | use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer; |
@@ -23,10 +23,10 @@ |
||
23 | 23 | || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server') |
24 | 24 | ) { |
25 | 25 | header('HTTP/1.0 403 Forbidden'); |
26 | - exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
|
26 | + exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.'); |
|
27 | 27 | } |
28 | 28 | |
29 | -require __DIR__.'/../vendor/autoload.php'; |
|
29 | +require __DIR__ . '/../vendor/autoload.php'; |
|
30 | 30 | |
31 | 31 | $kernel = new AppKernel('test_cached', false); |
32 | 32 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * Live (production) environment. |
19 | 19 | */ |
20 | 20 | |
21 | -require __DIR__.'/../vendor/autoload.php'; |
|
21 | +require __DIR__ . '/../vendor/autoload.php'; |
|
22 | 22 | |
23 | 23 | $kernel = new AppKernel('prod', false); |
24 | 24 |
@@ -24,10 +24,10 @@ |
||
24 | 24 | || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server') |
25 | 25 | ) { |
26 | 26 | header('HTTP/1.0 403 Forbidden'); |
27 | - exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
|
27 | + exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.'); |
|
28 | 28 | } |
29 | 29 | |
30 | -require __DIR__.'/../vendor/autoload.php'; |
|
30 | +require __DIR__ . '/../vendor/autoload.php'; |
|
31 | 31 | |
32 | 32 | Debug::enable(); |
33 | 33 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * Staging environment. |
19 | 19 | */ |
20 | 20 | |
21 | -require __DIR__.'/../vendor/autoload.php'; |
|
21 | +require __DIR__ . '/../vendor/autoload.php'; |
|
22 | 22 | |
23 | 23 | $kernel = new AppKernel('staging', false); |
24 | 24 |
@@ -29,10 +29,10 @@ |
||
29 | 29 | || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server') |
30 | 30 | )) { |
31 | 31 | header('HTTP/1.0 403 Forbidden'); |
32 | - exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
|
32 | + exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.'); |
|
33 | 33 | } |
34 | 34 | |
35 | -require __DIR__.'/../vendor/autoload.php'; |
|
35 | +require __DIR__ . '/../vendor/autoload.php'; |
|
36 | 36 | |
37 | 37 | Debug::enable(); |
38 | 38 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Sylius\Migrations; |
4 | 4 |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * @param TranslatorResourceProviderInterface $resourceProvider |
52 | 52 | * @param MessageSelector|MessageFormatterInterface $messageFormatterOrSelector |
53 | 53 | * @param string $locale |
54 | - * @param array $options |
|
54 | + * @param string[] $options |
|
55 | 55 | */ |
56 | 56 | public function __construct( |
57 | 57 | TranslatorLoaderProviderInterface $loaderProvider, |
@@ -25,7 +25,8 @@ |
||
25 | 25 | */ |
26 | 26 | public function it_does_not_crash(): void |
27 | 27 | { |
28 | - $class = new class() extends Bundle { |
|
28 | + $class = new class() extends Bundle |
|
29 | + { |
|
29 | 30 | use SyliusPluginTrait; |
30 | 31 | }; |
31 | 32 |