@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | use Symfony\Component\HttpFoundation\Request; |
15 | 15 | |
@@ -23,10 +23,10 @@ discard block |
||
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 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | use Symfony\Component\Debug\Debug; |
15 | 15 | use Symfony\Component\HttpFoundation\Request; |
@@ -24,10 +24,10 @@ discard block |
||
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 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | use Symfony\Component\Debug\Debug; |
15 | 15 | use Symfony\Component\HttpFoundation\Request; |
@@ -29,10 +29,10 @@ discard block |
||
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 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | use Symfony\Component\HttpFoundation\Request; |
15 | 15 | |
@@ -18,7 +18,7 @@ discard block |
||
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 |