@@ -26,10 +26,10 @@ discard block |
||
| 26 | 26 | // Feel free to remove this, extend it, or make something more sophisticated. |
| 27 | 27 | if (!getenv('APP_DEBUG')) { |
| 28 | 28 | header('HTTP/1.0 403 Forbidden'); |
| 29 | - exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.'); |
|
| 29 | + exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | -require __DIR__ . '/../vendor/autoload.php'; |
|
| 32 | +require __DIR__.'/../vendor/autoload.php'; |
|
| 33 | 33 | |
| 34 | 34 | Debug::enable(); |
| 35 | 35 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | . ' as a Composer dependency to load variables from a .env file.' |
| 42 | 42 | ); |
| 43 | 43 | } |
| 44 | - (new Dotenv())->load(__DIR__ . '/../.env'); |
|
| 44 | + (new Dotenv())->load(__DIR__.'/../.env'); |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | $kernel = new AppKernel($_SERVER['APP_ENV'], true); |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function load(array $configs, ContainerBuilder $container) |
| 51 | 51 | { |
| 52 | - $locator = new FileLocator(__DIR__ . implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
| 52 | + $locator = new FileLocator(__DIR__.implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
| 53 | 53 | $loader = new YamlFileLoader($container, $locator); |
| 54 | 54 | |
| 55 | 55 | $configFiles = [ |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | ]; |
| 64 | 64 | |
| 65 | 65 | foreach ($configFiles as $configFile) { |
| 66 | - $loader->load('config' . DIRECTORY_SEPARATOR . $configFile); |
|
| 66 | + $loader->load('config'.DIRECTORY_SEPARATOR.$configFile); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | $configuration = new Configuration(); |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function load(array $configs, ContainerBuilder $container) |
| 51 | 51 | { |
| 52 | - $locator = new FileLocator(__DIR__ . implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
| 52 | + $locator = new FileLocator(__DIR__.implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
| 53 | 53 | $loader = new YamlFileLoader($container, $locator); |
| 54 | 54 | |
| 55 | 55 | $configFiles = [ |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | ]; |
| 64 | 64 | |
| 65 | 65 | foreach ($configFiles as $configFile) { |
| 66 | - $loader->load('config' . DIRECTORY_SEPARATOR . $configFile); |
|
| 66 | + $loader->load('config'.DIRECTORY_SEPARATOR.$configFile); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | $configuration = new Configuration(); |