Passed
Push — v0.2 ( 5d3f12...4522ec )
by Freddie
07:07
created
src/ContainerBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     {
53 53
         $this->compileContainer = true;
54 54
         $this->compiledContainerDirectory = $compiledContainerDirectory;
55
-        $this->compiledContainerClassName =  ucfirst($this->environment) . self::CONTAINER_CLASS_SUFFIX;
55
+        $this->compiledContainerClassName = ucfirst($this->environment) . self::CONTAINER_CLASS_SUFFIX;
56 56
 
57 57
         $this->phpDiContainerBuilder->enableCompilation(
58 58
             $this->compiledContainerDirectory->getPathname(),
Please login to merge, or discard this patch.
src/DependencyInjection/services.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,34 +25,34 @@
 block discarded – undo
25 25
 
26 26
 return [
27 27
 
28
-    RegisterExceptionHandler::class => function (ContainerInterface $c) {
28
+    RegisterExceptionHandler::class => function(ContainerInterface $c) {
29 29
         return new RegisterExceptionHandler(
30 30
             (bool) $c->get(ContainerKeys::DEBUG_MODE),
31 31
             (string) $c->get(ContainerKeys::EDITOR)
32 32
         );
33 33
     },
34 34
 
35
-    LoadRoutes::class => function (ContainerInterface $c) {
35
+    LoadRoutes::class => function(ContainerInterface $c) {
36 36
         return new LoadRoutes($c);
37 37
     },
38 38
 
39
-    MatchRoute::class => function (ContainerInterface $c) {
39
+    MatchRoute::class => function(ContainerInterface $c) {
40 40
         return new MatchRoute($c->get(ContainerKeys::ROUTE_COLLECTION), $c->get(RouteParamsRegistry::class));
41 41
     },
42 42
 
43
-    DispatchController::class => function (ContainerInterface $c) {
43
+    DispatchController::class => function(ContainerInterface $c) {
44 44
         return new DispatchController($c->get(RouteParamsRegistry::class), $c);
45 45
     },
46 46
 
47
-    SetJsonResponseHeaders::class => function () {
47
+    SetJsonResponseHeaders::class => function() {
48 48
         return new SetJsonResponseHeaders();
49 49
     },
50 50
 
51
-    RouteParamsRegistry::class => function () {
51
+    RouteParamsRegistry::class => function() {
52 52
         return new RouteParamsRegistry();
53 53
     },
54 54
 
55
-    RouteCollectionBuilder::class => function (ContainerInterface $c) {
55
+    RouteCollectionBuilder::class => function(ContainerInterface $c) {
56 56
         return new AnnotationRouteCollectionBuilder(
57 57
             (bool) $c->get(ContainerKeys::ENABLE_CACHE),
58 58
             $c->get(ContainerKeys::CACHE_DIRECTORY)
Please login to merge, or discard this patch.