Passed
Pull Request — master (#5)
by Dominique
38:29
created
Zed/ProductSetGui/Communication/Form/General/LocalizedGeneralFormType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     public function configureOptions(OptionsResolver $resolver)
49 49
     {
50 50
         $resolver->setDefaults([
51
-            'validation_groups' => function (FormInterface $form) {
51
+            'validation_groups' => function(FormInterface $form) {
52 52
                 $originalUrl = $form->getData()[static::FIELD_ORIGINAL_URL];
53 53
                 $updatedUrl = $form->getData()[static::FIELD_URL];
54 54
 
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/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.
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/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.
Zed/User/Communication/Plugin/ServiceProvider/UserServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     public function register(Application $app)
41 41
     {
42 42
         $app['twig.global.variables'] = $app->share(
43
-            $app->extend('twig.global.variables', function (array $variables) {
43
+            $app->extend('twig.global.variables', function(array $variables) {
44 44
                 $variables['username'] = $this->getUsername();
45 45
 
46 46
                 return $variables;
Please login to merge, or discard this patch.
Twig/tests/SprykerTest/Shared/Twig/Cache/Cache/FilesystemCacheTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     'invalid key' => false,
80 80
 ];
81 81
 
82
-TXT
82
+txt
83 83
         );
84 84
     }
85 85
 
Please login to merge, or discard this patch.