Test Failed
Push — main ( 8a7b9e...19b244 )
by Rasul
03:14 queued 12s
created
public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     (new Dotenv(true))->load('.env');
17 17
 }
18 18
 
19
-(static function () {
19
+(static function() {
20 20
     $container = require './config/container.php';
21 21
 
22 22
     $application = $container->get(ApplicationInterface::class);
Please login to merge, or discard this patch.
config/common/framework.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,20 +13,20 @@
 block discarded – undo
13 13
 use Psr\Container\ContainerInterface;
14 14
 
15 15
 return [
16
-    ApplicationInterface::class => static function (ContainerInterface $container): ApplicationInterface {
16
+    ApplicationInterface::class => static function(ContainerInterface $container): ApplicationInterface {
17 17
         return new Application(
18 18
             $container->get(RouterInterface::class),
19 19
             $container->get(MiddlewareResolverInterface::class),
20 20
             $container->get(MiddlewarePipelineInterface::class)
21 21
         );
22 22
     },
23
-    RouterInterface::class => static function (ContainerInterface $container): RouterInterface {
23
+    RouterInterface::class => static function(ContainerInterface $container): RouterInterface {
24 24
         return $container->get(AuraRouterAdapter::class);
25 25
     },
26
-    MiddlewareResolverInterface::class => static function (ContainerInterface $container): MiddlewareResolverInterface {
26
+    MiddlewareResolverInterface::class => static function(ContainerInterface $container): MiddlewareResolverInterface {
27 27
         return $container->get(FuriousMiddlewareResolver::class);
28 28
     },
29
-    MiddlewarePipelineInterface::class => static function (ContainerInterface $container): MiddlewarePipelineInterface {
29
+    MiddlewarePipelineInterface::class => static function(ContainerInterface $container): MiddlewarePipelineInterface {
30 30
         return $container->get(BrokerPipelineAdapter::class);
31 31
     }
32 32
 ];
Please login to merge, or discard this patch.
config/common/app.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,13 +10,13 @@
 block discarded – undo
10 10
 use Psr\Container\ContainerInterface;
11 11
 
12 12
 return [
13
-    ResponseFactory::class => static function (ContainerInterface $container): ResponseFactory {
13
+    ResponseFactory::class => static function(ContainerInterface $container): ResponseFactory {
14 14
         return $container->get(NyholmResponseFactory::class);
15 15
     },
16
-    NotFoundHandlerInterface::class => static function (ContainerInterface $container): NotFoundHandlerInterface {
16
+    NotFoundHandlerInterface::class => static function(ContainerInterface $container): NotFoundHandlerInterface {
17 17
         return $container->get(NotFoundHandler::class);
18 18
     },
19
-    ErrorHandler::class => static function (ContainerInterface $container): ErrorHandler {
19
+    ErrorHandler::class => static function(ContainerInterface $container): ErrorHandler {
20 20
         return new ErrorHandler(
21 21
             $container->get(ResponseFactory::class),
22 22
             $container->get('config')['app']['debug']
Please login to merge, or discard this patch.
config/common/orm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 use Psr\Container\ContainerInterface;
13 13
 
14 14
 return [
15
-    EntityManagerInterface::class => function (ContainerInterface $container): EntityManagerInterface {
15
+    EntityManagerInterface::class => function(ContainerInterface $container): EntityManagerInterface {
16 16
         $settings = $container->get('config')['doctrine'];
17 17
 
18 18
         foreach ($settings['types'] as $name => $class) {
Please login to merge, or discard this patch.
config/app/pipeline/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 use Framework\Http\ApplicationInterface;
7 7
 use Framework\Http\Pipeline\Middleware as FrameworkMiddleware;
8 8
 
9
-return static function (ApplicationInterface $app): void {
9
+return static function(ApplicationInterface $app): void {
10 10
     $router = $app->getRouter();
11 11
 
12 12
     $app->pipe(Middleware\ProfilerMiddleware::class);
Please login to merge, or discard this patch.
config/app/routes/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
 use App\Http\Action;
6 6
 use Framework\Http\ApplicationInterface;
7 7
 
8
-return static function (ApplicationInterface $app): void {
8
+return static function(ApplicationInterface $app): void {
9 9
     $app->get('home', '/', Action\HomeAction::class);
10 10
 };
Please login to merge, or discard this patch.