Passed
Push — master ( a9f76a...c7e826 )
by
unknown
50:44
created
Bundles/Kernel/src/Spryker/Yves/Kernel/Controller/AbstractController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@
 block discarded – undo
273 273
     protected function renderView($view, array $parameters = [], ?Response $response = null)
274 274
     {
275 275
         if ($response instanceof StreamedResponse) {
276
-            $response->setCallback(function () use ($view, $parameters) {
276
+            $response->setCallback(function() use ($view, $parameters) {
277 277
                 $this->getTwig()->display($view, $parameters);
278 278
             });
279 279
         } else {
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.
Communication/Plugin/ServiceProvider/UrlGeneratorServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function register(Application $app)
29 29
     {
30
-        $app['url_generator'] = $app->share(function ($app) {
30
+        $app['url_generator'] = $app->share(function($app) {
31 31
             $app->flush();
32 32
 
33 33
             return $app[SprykerApplication::SERVICE_ROUTER];
Please login to merge, or discard this patch.
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.