Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Zed/Router/Communication/Plugin/Application/RouterApplicationPlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function provideRouter(ContainerInterface $container): ContainerInterface
58 58
     {
59
-        $container->set(static::SERVICE_ROUTER, function () {
59
+        $container->set(static::SERVICE_ROUTER, function() {
60 60
             return $this->getFacade()->getRouter();
61 61
         });
62 62
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     protected function provideControllerResolver(ContainerInterface $container): ContainerInterface
93 93
     {
94
-        $container->set(static::SERVICE_CONTROLLER_RESOLVER, function () use ($container) {
94
+        $container->set(static::SERVICE_CONTROLLER_RESOLVER, function() use ($container) {
95 95
             return new ControllerResolver($container);
96 96
         });
97 97
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     protected function provideArgumentResolver(ContainerInterface $container): ContainerInterface
107 107
     {
108
-        $container->set(static::SERVICE_ARGUMENT_RESOLVER, function () {
108
+        $container->set(static::SERVICE_ARGUMENT_RESOLVER, function() {
109 109
             return new ArgumentResolver();
110 110
         });
111 111
 
Please login to merge, or discard this patch.
Router/src/Spryker/Zed/Router/Business/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.
src/Spryker/Yves/Router/Plugin/Application/RouterApplicationPlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     protected function provideRouter(ContainerInterface $container): ContainerInterface
59 59
     {
60
-        $container->set(static::SERVICE_ROUTER, function () {
60
+        $container->set(static::SERVICE_ROUTER, function() {
61 61
             return $this->getFactory()->createRouter();
62 62
         });
63 63
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     protected function provideControllerResolver(ContainerInterface $container): ContainerInterface
94 94
     {
95
-        $container->set(static::SERVICE_CONTROLLER_RESOLVER, function () use ($container) {
95
+        $container->set(static::SERVICE_CONTROLLER_RESOLVER, function() use ($container) {
96 96
             return new ControllerResolver($container);
97 97
         });
98 98
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     protected function provideArgumentResolver(ContainerInterface $container): ContainerInterface
108 108
     {
109
-        $container->set(static::SERVICE_ARGUMENT_RESOLVER, function () {
109
+        $container->set(static::SERVICE_ARGUMENT_RESOLVER, function() {
110 110
             return $this->getFactory()->createArgumentResolver();
111 111
         });
112 112
 
Please login to merge, or discard this patch.
Bundles/Router/src/Spryker/Yves/Router/RouterDependencyProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function addRouterPlugins(Container $container): Container
44 44
     {
45
-        $container->set(static::ROUTER_PLUGINS, function () {
45
+        $container->set(static::ROUTER_PLUGINS, function() {
46 46
             return $this->getRouterPlugins();
47 47
         });
48 48
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     protected function addRouterEnhancerPlugins(Container $container): Container
66 66
     {
67
-        $container->set(static::ROUTER_ENHANCER_PLUGINS, function () {
67
+        $container->set(static::ROUTER_ENHANCER_PLUGINS, function() {
68 68
             return $this->getRouterEnhancerPlugins();
69 69
         });
70 70
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     protected function addRouteProvider(Container $container): Container
88 88
     {
89
-        $container->set(static::ROUTER_ROUTE_PROVIDER, function () {
89
+        $container->set(static::ROUTER_ROUTE_PROVIDER, function() {
90 90
             return $this->getRouteProvider();
91 91
         });
92 92
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     protected function addPostAddRouteManipulator(Container $container): Container
110 110
     {
111
-        $container->set(static::POST_ADD_ROUTE_MANIPULATOR, function () {
111
+        $container->set(static::POST_ADD_ROUTE_MANIPULATOR, function() {
112 112
             return $this->getPostAddRouteManipulator();
113 113
         });
114 114
 
Please login to merge, or discard this patch.
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.