Passed
Branch master (e494fe)
by Freddie
04:23
created
Category
src/config/services.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Simplex package.
@@ -21,23 +21,23 @@  discard block
 block discarded – undo
21 21
 
22 22
 return [
23 23
 
24
-    MatchRoute::class => function (ContainerInterface $c) {
24
+    MatchRoute::class => function(ContainerInterface $c) {
25 25
         return new MatchRoute($c->get('route_collection'), $c->get(RouteParamsRegistry::class));
26 26
     },
27 27
 
28
-    DispatchController::class => function (ContainerInterface $c) {
28
+    DispatchController::class => function(ContainerInterface $c) {
29 29
         return new DispatchController($c->get(RouteParamsRegistry::class), $c);
30 30
     },
31 31
 
32
-    SetJsonResponseHeaders::class => function (ContainerInterface $c) {
32
+    SetJsonResponseHeaders::class => function(ContainerInterface $c) {
33 33
         return new SetJsonResponseHeaders();
34 34
     },
35 35
 
36
-    RouteParamsRegistry::class => function (ContainerInterface $c) {
36
+    RouteParamsRegistry::class => function(ContainerInterface $c) {
37 37
         return new RouteParamsRegistry();
38 38
     },
39 39
 
40
-    RouteCollectionBuilder::class => function (ContainerInterface $c) {
40
+    RouteCollectionBuilder::class => function(ContainerInterface $c) {
41 41
         return new AnnotationRouteCollectionBuilder();
42 42
     },
43 43
 
Please login to merge, or discard this patch.
src/HttpApplication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Simplex package.
Please login to merge, or discard this patch.
src/Exception/ResourceNotFoundException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Simplex package.
Please login to merge, or discard this patch.
src/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Simplex package.
Please login to merge, or discard this patch.
src/ConsoleApplication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Simplex package.
Please login to merge, or discard this patch.
src/HttpMiddleware/SetJsonResponseHeaders.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Simplex package.
Please login to merge, or discard this patch.
src/HttpMiddleware/DispatchController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Simplex package.
Please login to merge, or discard this patch.
src/HttpMiddleware/MatchRoute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Simplex package.
Please login to merge, or discard this patch.
src/Kernel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * This file is part of the Simplex package.
@@ -142,11 +142,11 @@  discard block
 block discarded – undo
142 142
     private function loadDefinitions(ContainerBuilder $containerBuilder): void
143 143
     {
144 144
         $containerBuilder->addDefinitions(__DIR__ . '/config/services.php');
145
-        $containerBuilder->addDefinitions($this->baseDir. '/src/Shared/config/services.php');
145
+        $containerBuilder->addDefinitions($this->baseDir . '/src/Shared/config/services.php');
146 146
 
147 147
         foreach ($this->modulePaths as $index => $dir) {
148 148
 
149
-            $configDir = $dir. '/config';
149
+            $configDir = $dir . '/config';
150 150
             if (!is_readable($configDir)) {
151 151
                 continue;
152 152
             }
Please login to merge, or discard this patch.