Passed
Push — develop ( 7d2e81...61e6f0 )
by Laurent
06:22 queued 03:53
created
src/Core/Infrastructure/Kernel.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -16,24 +16,24 @@
 block discarded – undo
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__, 3) . '/config/services.yaml')) {
21
+        if (\is_file(\dirname(__DIR__, 3).'/config/services.yaml')) {
22 22
             $container->import('../../../config/services.yaml');
23
-            $container->import('../../../config/{services}_' . $this->environment . '.yaml');
24
-        } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/services.php')) {
23
+            $container->import('../../../config/{services}_'.$this->environment.'.yaml');
24
+        } elseif (\is_file($path = \dirname(__DIR__, 3).'/config/services.php')) {
25 25
             (require $path)($container->withPath($path), $this);
26 26
         }
27 27
     }
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__, 3) . '/config/routes.yaml')) {
34
+        if (\is_file(\dirname(__DIR__, 3).'/config/routes.yaml')) {
35 35
             $routes->import('../../../config/routes.yaml');
36
-        } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/routes.php')) {
36
+        } elseif (\is_file($path = \dirname(__DIR__, 3).'/config/routes.php')) {
37 37
             (require $path)($routes->withPath($path), $this);
38 38
         }
39 39
     }
Please login to merge, or discard this patch.