Passed
Pull Request — master (#2)
by Dominique
22:55
created
Bundles/Propel/src/Spryker/Zed/Propel/Communication/Console/DiffConsole.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
         $process = new Process($command, APPLICATION_ROOT_DIR);
53 53
         $process->setTimeout(self::PROCESS_TIMEOUT);
54 54
 
55
-        return $process->run(function ($type, $buffer) {
55
+        return $process->run(function($type, $buffer) {
56 56
             echo $buffer;
57 57
         });
58 58
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductReviewGui/ProductReviewGuiDependencyProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     protected function addUtilSanitizeService(Container $container)
49 49
     {
50
-        $container[static::SERVICE_UTIL_SANITIZE] = function (Container $container) {
50
+        $container[static::SERVICE_UTIL_SANITIZE] = function(Container $container) {
51 51
             return new ServiceProductReviewGuiToUtilSanitizeBridge($container->getLocator()->utilSanitize()->service());
52 52
         };
53 53
     }
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     protected function addUtilDateTimeService(Container $container)
61 61
     {
62
-        $container[static::SERVICE_UTIL_DATE_TIME] = function (Container $container) {
62
+        $container[static::SERVICE_UTIL_DATE_TIME] = function(Container $container) {
63 63
             return new ServiceProductReviewGuiToDateTimeBridge($container->getLocator()->utilDateTime()->service());
64 64
         };
65 65
     }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     protected function addProductReviewFacade(Container $container)
85 85
     {
86
-        $container[static::FACADE_PRODUCT_REVIEW] = function (Container $container) {
86
+        $container[static::FACADE_PRODUCT_REVIEW] = function(Container $container) {
87 87
             return new ProductReviewGuiToProductReviewBridge($container->getLocator()->productReview()->facade());
88 88
         };
89 89
     }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     protected function addProductReviewQueryContainer(Container $container)
97 97
     {
98
-        $container[static::QUERY_CONTAINER_PRODUCT_REVIEW] = function (Container $container) {
98
+        $container[static::QUERY_CONTAINER_PRODUCT_REVIEW] = function(Container $container) {
99 99
             return new ProductReviewGuiToProductReviewQueryContainerBridge($container->getLocator()->productReview()->queryContainer());
100 100
         };
101 101
     }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     protected function addLocaleFacade(Container $container)
109 109
     {
110
-        $container[static::FACADE_LOCALE] = function (Container $container) {
110
+        $container[static::FACADE_LOCALE] = function(Container $container) {
111 111
             return new ProductReviewGuiToLocaleBridge($container->getLocator()->locale()->facade());
112 112
         };
113 113
     }
Please login to merge, or discard this patch.
src/Spryker/Yves/Application/Plugin/Provider/CookieServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     public function register(Application $app)
30 30
     {
31 31
         $this->app = $app;
32
-        $app['cookies'] = $app->share(function () {
32
+        $app['cookies'] = $app->share(function() {
33 33
             return new ArrayObject();
34 34
         });
35 35
     }
Please login to merge, or discard this patch.
src/Spryker/Yves/Application/Plugin/Provider/ExceptionServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $app['controller.service.error'] = $this->getFactory()->createExceptionHandlerDispatcher();
34 34
 
35 35
         $app['dispatcher'] = $app->share(
36
-            $app->extend('dispatcher', function (EventDispatcherInterface $dispatcher) {
36
+            $app->extend('dispatcher', function(EventDispatcherInterface $dispatcher) {
37 37
                 $exceptionListener = new ExceptionListener(
38 38
                     'controller.service.error:dispatch'
39 39
                 );
Please login to merge, or discard this patch.
src/Spryker/Yves/Application/Plugin/Provider/YvesControllerProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     protected function createRedirectController($path, $name, $redirectPath, $status = 302)
133 133
     {
134 134
         $controller = $this->controllerCollection
135
-            ->match($path, function () use ($redirectPath, $status) {
135
+            ->match($path, function() use ($redirectPath, $status) {
136 136
                 return new RedirectResponse($redirectPath, $status);
137 137
             })
138 138
             ->bind($name);
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     private function addJsonParsing(Controller $controller)
187 187
     {
188
-        $controller->before(function (Request $request) {
188
+        $controller->before(function(Request $request) {
189 189
             $isJson = (strpos($request->headers->get('Content-Type'), 'application/json') === 0);
190 190
             if ($isJson) {
191 191
                 $data = json_decode($request->getContent(), true);
Please login to merge, or discard this patch.
src/Spryker/Yves/Application/Plugin/ServiceProvider/SslServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         }
69 69
 
70 70
         $app->before(
71
-            function (Request $request) {
71
+            function(Request $request) {
72 72
                 if ($this->shouldBeSsl($request)) {
73 73
                     $fakeRequest = clone $request;
74 74
                     $fakeRequest->server->set('HTTPS', true);
Please login to merge, or discard this patch.
Bundles/Application/src/Spryker/Yves/Application/Routing/AbstractRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
             $url = $wantedScheme . '://' . $this->context->getHost() . $pathInfo;
91 91
 
92 92
             return [
93
-                '_controller' => function ($url) {
93
+                '_controller' => function($url) {
94 94
                     return new RedirectResponse($url, 301);
95 95
                 },
96 96
                 '_route' => null,
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
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function register(Application $app)
25 25
     {
26
-        $app['url_matcher'] = $app->share(function () use ($app) {
26
+        $app['url_matcher'] = $app->share(function() use ($app) {
27 27
             /** @var \Symfony\Cmf\Component\Routing\ChainRouter $chainRouter */
28 28
             $chainRouter = $app['routers'];
29 29
             $chainRouter->setContext($app['request_context']);
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             return $chainRouter;
32 32
         });
33 33
 
34
-        $app['routers'] = $app->share(function () {
34
+        $app['routers'] = $app->share(function() {
35 35
             return new ChainRouter();
36 36
         });
37 37
     }
Please login to merge, or discard this patch.
Application/ServiceProvider/DoubleSubmitProtectionServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@
 block discarded – undo
24 24
      */
25 25
     public function register(Application $app)
26 26
     {
27
-        $app['form.extension.double_submit_protection'] = $app->share(function ($app) {
27
+        $app['form.extension.double_submit_protection'] = $app->share(function($app) {
28 28
             $translator = isset($app['translator']) ? $app['translator'] : null;
29 29
             return $this->createDoubleSubmitProtectionExtension($app, $translator);
30 30
         });
31 31
 
32
-        $app->extend('form.extensions', function ($extensions) use ($app) {
32
+        $app->extend('form.extensions', function($extensions) use ($app) {
33 33
             $extensions[] = $app['form.extension.double_submit_protection'];
34 34
             return $extensions;
35 35
         });
Please login to merge, or discard this patch.