Passed
Push — master ( 093472...d84877 )
by
unknown
26:06
created
Bundles/Application/src/Spryker/Shared/Application/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
         $chainRouter = $this->container->get(static::SERVICE_ROUTER);
145 145
 
146 146
         $loader = new ClosureLoader();
147
-        $resource = function () use ($routeCollection) {
147
+        $resource = function() use ($routeCollection) {
148 148
             return $routeCollection;
149 149
         };
150 150
         $router = new Router($loader, $resource);
Please login to merge, or discard this patch.
Spryker/Shared/Application/ServiceProvider/UrlGeneratorServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function register(Application $app)
27 27
     {
28
-        $app['url_generator'] = $app->share(function ($app) {
28
+        $app['url_generator'] = $app->share(function($app) {
29 29
             return $app[SprykerApplication::SERVICE_ROUTER];
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/SilexRoutingServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function register(Application $app)
36 36
     {
37 37
         $app[SprykerApplication::SERVICE_ROUTER] = $app->share(
38
-            $app->extend(SprykerApplication::SERVICE_ROUTER, function (ChainRouter $chainRouter) use ($app) {
38
+            $app->extend(SprykerApplication::SERVICE_ROUTER, function(ChainRouter $chainRouter) use ($app) {
39 39
                 $chainRouter->add(new SilexRouter($app));
40 40
 
41 41
                 return $chainRouter;
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/MvcRoutingServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function register(Application $app)
36 36
     {
37 37
         $app[SprykerApplication::SERVICE_ROUTER] = $app->share(
38
-            $app->extend(SprykerApplication::SERVICE_ROUTER, function (ChainRouter $chainRouter) use ($app) {
38
+            $app->extend(SprykerApplication::SERVICE_ROUTER, function(ChainRouter $chainRouter) use ($app) {
39 39
                 $chainRouter->add(new MvcRouter($app));
40 40
 
41 41
                 return $chainRouter;
Please login to merge, or discard this patch.
Zed/Application/Communication/Plugin/ServiceProvider/SslServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         }
79 79
 
80 80
         $app->before(
81
-            function (Request $request) use ($app) {
81
+            function(Request $request) use ($app) {
82 82
                 if ($app->get(static::BC_FEATURE_FLAG_SSL_SERVICE_PROVIDER) === false) {
83 83
                     return null;
84 84
                 }
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/UrlGeneratorServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             return;
35 35
         }
36 36
 
37
-        $app['url_generator'] = $app->share(function ($app) {
37
+        $app['url_generator'] = $app->share(function($app) {
38 38
             $app->flush();
39 39
 
40 40
             return $app[SprykerApplication::SERVICE_ROUTER];
Please login to merge, or discard this patch.
src/Spryker/Shared/Application/ServiceProvider/RoutingServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function register(Application $app)
32 32
     {
33
-        $app['url_matcher'] = $app->share(function () use ($app) {
33
+        $app['url_matcher'] = $app->share(function() use ($app) {
34 34
             /** @var \Symfony\Cmf\Component\Routing\ChainRouter $chainRouter */
35 35
             $chainRouter = $app[SprykerApplication::SERVICE_ROUTER];
36 36
             $chainRouter->setContext($app['request_context']);
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             return $chainRouter;
39 39
         });
40 40
 
41
-        $app[SprykerApplication::SERVICE_ROUTER] = $app->share(function () {
41
+        $app[SprykerApplication::SERVICE_ROUTER] = $app->share(function() {
42 42
             return new ChainRouter();
43 43
         });
44 44
     }
Please login to merge, or discard this patch.
Application/Communication/Plugin/ServiceProvider/RoutingServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function register(Application $app)
32 32
     {
33
-        $app['url_matcher'] = $app->share(function () use ($app) {
33
+        $app['url_matcher'] = $app->share(function() use ($app) {
34 34
             /** @var \Symfony\Cmf\Component\Routing\ChainRouter $chainRouter */
35 35
             $chainRouter = $app[SprykerApplication::SERVICE_ROUTER];
36 36
             $chainRouter->setContext($app['request_context']);
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             return $chainRouter;
39 39
         });
40 40
 
41
-        $app[SprykerApplication::SERVICE_ROUTER] = $app->share(function () {
41
+        $app[SprykerApplication::SERVICE_ROUTER] = $app->share(function() {
42 42
             return new ChainRouter();
43 43
         });
44 44
     }
Please login to merge, or discard this patch.
Bundles/Router/src/Spryker/Yves/Router/UrlMatcher/CompiledUrlMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
         }
80 80
 
81 81
         return [
82
-            '_controller' => function ($url) {
82
+            '_controller' => function($url) {
83 83
                 return new RedirectResponse($url, 301);
84 84
             },
85 85
             '_route' => null,
Please login to merge, or discard this patch.