Test Failed
Branch v0.2 (cb9325)
by Freddie
02:15
created
src/Bootstrap.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
 namespace Simplex;
4 4
 
Please login to merge, or discard this patch.
src/config/services.php 1 patch
Spacing   +8 added lines, -8 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.
@@ -30,34 +30,34 @@  discard block
 block discarded – undo
30 30
     ContainerKeys::ENABLE_CACHE => DI\env(Environment::ENABLE_CACHE_ENV_VAR, false),
31 31
     ContainerKeys::EDITOR => DI\env(Environment::EDITOR_ENV_VAR, null),
32 32
 
33
-    RegisterExceptionHandler::class => function (ContainerInterface $c) {
33
+    RegisterExceptionHandler::class => function(ContainerInterface $c) {
34 34
         return new RegisterExceptionHandler(
35 35
             (bool) $c->get(ContainerKeys::DEBUG_MODE),
36 36
             (string) $c->get(ContainerKeys::EDITOR)
37 37
         );
38 38
     },
39 39
 
40
-    LoadRoutes::class => function (ContainerInterface $c) {
40
+    LoadRoutes::class => function(ContainerInterface $c) {
41 41
         return new LoadRoutes($c);
42 42
     },
43 43
 
44
-    MatchRoute::class => function (ContainerInterface $c) {
44
+    MatchRoute::class => function(ContainerInterface $c) {
45 45
         return new MatchRoute($c->get(ContainerKeys::ROUTE_COLLECTION), $c->get(RouteParamsRegistry::class));
46 46
     },
47 47
 
48
-    DispatchController::class => function (ContainerInterface $c) {
48
+    DispatchController::class => function(ContainerInterface $c) {
49 49
         return new DispatchController($c->get(RouteParamsRegistry::class), $c);
50 50
     },
51 51
 
52
-    SetJsonResponseHeaders::class => function (ContainerInterface $c) {
52
+    SetJsonResponseHeaders::class => function(ContainerInterface $c) {
53 53
         return new SetJsonResponseHeaders();
54 54
     },
55 55
 
56
-    RouteParamsRegistry::class => function (ContainerInterface $c) {
56
+    RouteParamsRegistry::class => function(ContainerInterface $c) {
57 57
         return new RouteParamsRegistry();
58 58
     },
59 59
 
60
-    RouteCollectionBuilder::class => function (ContainerInterface $c) {
60
+    RouteCollectionBuilder::class => function(ContainerInterface $c) {
61 61
         return new AnnotationRouteCollectionBuilder(
62 62
             (bool) $c->get(ContainerKeys::ENABLE_CACHE),
63 63
             CACHE_DIRECTORY
Please login to merge, or discard this patch.
src/Routing/AnnotationRouteCollectionBuilder.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/Routing/AnnotatedRouteControllerLoader.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/Routing/RouteCollectionBuilder.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/Routing/RouteParamsRegistry.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/ContainerBuilder.php 1 patch
Spacing   +2 added lines, -2 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.
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     {
62 62
         $this->compileContainer = true;
63 63
         $this->compiledContainerDirectory = $compiledContainerDirectory;
64
-        $this->compiledContainerClassName =  ucfirst($this->environment) . self::CONTAINER_CLASS_SUFFIX;
64
+        $this->compiledContainerClassName = ucfirst($this->environment) . self::CONTAINER_CLASS_SUFFIX;
65 65
 
66 66
         $this->phpDiContainerBuilder->enableCompilation(
67 67
             $this->compiledContainerDirectory->getPathname(),
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
 namespace Simplex;
4 4
 
Please login to merge, or discard this patch.
src/Environment.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
 namespace Simplex;
4 4
 
Please login to merge, or discard this patch.