@@ -68,7 +68,7 @@ |
||
| 68 | 68 | ; |
| 69 | 69 | |
| 70 | 70 | return new Suppliers( |
| 71 | - ...\array_map(static function (Supplier $supplier) { |
|
| 71 | + ...\array_map(static function(Supplier $supplier) { |
|
| 72 | 72 | return new SupplierReadModel( |
| 73 | 73 | $supplier->getUuid(), |
| 74 | 74 | $supplier->getCompanyName(), |
@@ -26,26 +26,26 @@ |
||
| 26 | 26 | protected function configureContainer(ContainerConfigurator $container, LoaderInterface $loader): void |
| 27 | 27 | { |
| 28 | 28 | $container->import('../../../config/{packages}/*.yaml'); |
| 29 | - $container->import('../../../config/{packages}/' . $this->environment . '/*.yaml'); |
|
| 29 | + $container->import('../../../config/{packages}/'.$this->environment.'/*.yaml'); |
|
| 30 | 30 | |
| 31 | - if (\is_file(\dirname(__DIR__, 3) . '/config/services.yaml')) { |
|
| 31 | + if (\is_file(\dirname(__DIR__, 3).'/config/services.yaml')) { |
|
| 32 | 32 | $container->import('../../../config/services.yaml'); |
| 33 | - $container->import('../../../config/{services}_' . $this->environment . '.yaml'); |
|
| 34 | - } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/services.php')) { |
|
| 33 | + $container->import('../../../config/{services}_'.$this->environment.'.yaml'); |
|
| 34 | + } elseif (\is_file($path = \dirname(__DIR__, 3).'/config/services.php')) { |
|
| 35 | 35 | (require $path)($container->withPath($path), $this); |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - $loader->load($this->getProjectDir() . '/src/**/Infrastructure/Symfony/Resources/config/services.yaml', 'glob'); |
|
| 38 | + $loader->load($this->getProjectDir().'/src/**/Infrastructure/Symfony/Resources/config/services.yaml', 'glob'); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | protected function configureRoutes(RoutingConfigurator $routes): void |
| 42 | 42 | { |
| 43 | - $routes->import('../../../config/{routes}/' . $this->environment . '/*.yaml'); |
|
| 43 | + $routes->import('../../../config/{routes}/'.$this->environment.'/*.yaml'); |
|
| 44 | 44 | $routes->import('../../../config/{routes}/*.yaml'); |
| 45 | 45 | |
| 46 | - if (\is_file(\dirname(__DIR__, 3) . '/config/routes.yaml')) { |
|
| 46 | + if (\is_file(\dirname(__DIR__, 3).'/config/routes.yaml')) { |
|
| 47 | 47 | $routes->import('../../../config/routes.yaml'); |
| 48 | - } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/routes.php')) { |
|
| 48 | + } elseif (\is_file($path = \dirname(__DIR__, 3).'/config/routes.php')) { |
|
| 49 | 49 | (require $path)($routes->withPath($path), $this); |
| 50 | 50 | } |
| 51 | 51 | } |