@@ -16,11 +16,11 @@ discard block |
||
| 16 | 16 | protected function configureContainer(ContainerConfigurator $container): void |
| 17 | 17 | { |
| 18 | 18 | $container->import('../config/{packages}/*.yaml'); |
| 19 | - $container->import('../config/{packages}/'.$this->environment.'/*.yaml'); |
|
| 19 | + $container->import('../config/{packages}/' . $this->environment . '/*.yaml'); |
|
| 20 | 20 | |
| 21 | - if (is_file(\dirname(__DIR__).'/config/services.yaml')) { |
|
| 21 | + if (is_file(\dirname(__DIR__) . '/config/services.yaml')) { |
|
| 22 | 22 | $container->import('../config/services.yaml'); |
| 23 | - $container->import('../config/{services}_'.$this->environment.'.yaml'); |
|
| 23 | + $container->import('../config/{services}_' . $this->environment . '.yaml'); |
|
| 24 | 24 | } else { |
| 25 | 25 | $container->import('../config/{services}.php'); |
| 26 | 26 | } |
@@ -28,10 +28,10 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | protected function configureRoutes(RoutingConfigurator $routes): void |
| 30 | 30 | { |
| 31 | - $routes->import('../config/{routes}/'.$this->environment.'/*.yaml'); |
|
| 31 | + $routes->import('../config/{routes}/' . $this->environment . '/*.yaml'); |
|
| 32 | 32 | $routes->import('../config/{routes}/*.yaml'); |
| 33 | 33 | |
| 34 | - if (is_file(\dirname(__DIR__).'/config/routes.yaml')) { |
|
| 34 | + if (is_file(\dirname(__DIR__) . '/config/routes.yaml')) { |
|
| 35 | 35 | $routes->import('../config/routes.yaml'); |
| 36 | 36 | } else { |
| 37 | 37 | $routes->import('../config/{routes}.php'); |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | use App\Kernel; |
| 4 | 4 | |
| 5 | -require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; |
|
| 5 | +require_once dirname(__DIR__) . '/vendor/autoload_runtime.php'; |
|
| 6 | 6 | |
| 7 | -return function (array $context) { |
|
| 7 | +return function(array $context) { |
|
| 8 | 8 | return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); |
| 9 | 9 | }; |