Passed
Push — master ( 7a7cfe...9ace4b )
by Mark
35:26
created
Application/src/Spryker/Zed/Application/Communication/ZedBootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     protected function optimizeApp()
170 170
     {
171 171
         $application = $this->application;
172
-        $application['resolver'] = $this->application->share(function () use ($application) {
172
+        $application['resolver'] = $this->application->share(function() use ($application) {
173 173
             return new ZedFragmentControllerResolver($application);
174 174
         });
175 175
     }
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     {
193 193
         $application = $this->application;
194 194
         $application['twig.global.variables'] = $application->share(
195
-            $application->extend('twig.global.variables', function (array $variables) {
195
+            $application->extend('twig.global.variables', function(array $variables) {
196 196
                 $variables += [
197 197
                     'environment' => APPLICATION_ENV,
198 198
                     'store' => Store::getInstance()->getStoreName(),
Please login to merge, or discard this patch.
Application/Communication/Plugin/ServiceProvider/RequestServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function boot(Application $app)
46 46
     {
47
-        $app->before(function (Request $request) {
47
+        $app->before(function(Request $request) {
48 48
             if ($this->isCli() && $request->server->get('argv', false)) {
49 49
                 $this->parseCliRequestData($request);
50 50
             } else {
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/TranslationServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function register(Application $app)
29 29
     {
30 30
         $app['twig'] = $app->share(
31
-            $app->extend('twig', function (\Twig_Environment $twig) use ($app) {
31
+            $app->extend('twig', function(\Twig_Environment $twig) use ($app) {
32 32
                 $twig->addExtension(new TranslationExtension(new Translator($app['locale'])));
33 33
 
34 34
                 return $twig;
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/SubRequestServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function register(Application $app)
28 28
     {
29
-        $app['sub_request'] = $app->share(function () use ($app) {
29
+        $app['sub_request'] = $app->share(function() use ($app) {
30 30
             return new SubRequestHandler($app);
31 31
         });
32 32
     }
Please login to merge, or discard this patch.
tests/SprykerTest/Yves/Application/_support/ApplicationYvesTester.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $application = new Application();
43 43
         $application->register(new SslServiceProvider());
44 44
 
45
-        $application->get('/foo', function () use ($controllerResponse) {
45
+        $application->get('/foo', function() use ($controllerResponse) {
46 46
             return $controllerResponse;
47 47
         });
48 48
 
Please login to merge, or discard this patch.
tests/SprykerTest/Shared/Application/_support/Helper/ZedHelper.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function _after(TestInterface $test)
30 30
     {
31
-         static::$alreadyLoggedIn = false;
31
+            static::$alreadyLoggedIn = false;
32 32
     }
33 33
 
34 34
     /**
Please login to merge, or discard this patch.
tests/SprykerTest/Shared/Application/_support/ApplicationSharedTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 
24 24
     use _generated\ApplicationSharedTesterActions;
25 25
 
26
-   /**
27
-    * Define custom actions here
28
-    */
26
+    /**
27
+     * Define custom actions here
28
+     */
29 29
 
30 30
 }
Please login to merge, or discard this patch.
Application/ServiceProvider/DoubleSubmitProtectionServiceProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     {
51 51
         $application = new Application();
52 52
         $application['form.extensions'] = $application->share(
53
-            function ($app) {}
53
+            function($app) {}
54 54
         );
55 55
         $application['session'] = $this->getMockBuilder(SessionInterface::class)->getMock();
56 56
 
Please login to merge, or discard this patch.
Zed/Application/Business/Model/Request/SubRequestHandlerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,14 +71,14 @@
 block discarded – undo
71 71
         $app = new Application();
72 72
         $app['debug'] = true;
73 73
 
74
-        $callback = function () use ($app) {
74
+        $callback = function() use ($app) {
75 75
             $subRequestHandler = new SubRequestHandler($app);
76 76
             return $subRequestHandler->handleSubRequest(new Request(), self::URL_SUB_REQUEST);
77 77
         };
78 78
 
79 79
         $app->get(self::URL_MASTER_REQUEST, $callback);
80 80
         $app->post(self::URL_MASTER_REQUEST, $callback);
81
-        $app->get(self::URL_SUB_REQUEST, function () use ($app) {
81
+        $app->get(self::URL_SUB_REQUEST, function() use ($app) {
82 82
             return new RedirectResponse(self::URL_SUB_REQUEST);
83 83
         });
84 84
 
Please login to merge, or discard this patch.