@@ -91,7 +91,7 @@ |
||
| 91 | 91 | ; |
| 92 | 92 | |
| 93 | 93 | return new Users( |
| 94 | - ...\array_map(static function (User $user) { |
|
| 94 | + ...\array_map(static function(User $user) { |
|
| 95 | 95 | return new UserReadModel( |
| 96 | 96 | $user->getUuid(), |
| 97 | 97 | $user->getUsername(), |
@@ -26,27 +26,27 @@ |
||
| 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 | - $routes->import($this->getProjectDir() . '/src/**/Infrastructure/Symfony/Resources/config/routes.yaml', 'glob'); |
|
| 45 | + $routes->import($this->getProjectDir().'/src/**/Infrastructure/Symfony/Resources/config/routes.yaml', 'glob'); |
|
| 46 | 46 | |
| 47 | - if (\is_file(\dirname(__DIR__, 3) . '/config/routes.yaml')) { |
|
| 47 | + if (\is_file(\dirname(__DIR__, 3).'/config/routes.yaml')) { |
|
| 48 | 48 | $routes->import('../../../config/routes.yaml'); |
| 49 | - } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/routes.php')) { |
|
| 49 | + } elseif (\is_file($path = \dirname(__DIR__, 3).'/config/routes.php')) { |
|
| 50 | 50 | (require $path)($routes->withPath($path), $this); |
| 51 | 51 | } |
| 52 | 52 | } |