Passed
Push — master ( a9f76a...c7e826 )
by
unknown
50:44
created
src/Spryker/Zed/Customer/Business/Anonymizer/CustomerAnonymizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         $customerTransfer->requireIdCustomer();
71 71
         $customerTransfer = $this->getCustomer($customerTransfer);
72 72
 
73
-        $this->handleDatabaseTransaction(function () use ($customerTransfer) {
73
+        $this->handleDatabaseTransaction(function() use ($customerTransfer) {
74 74
             $this->processTransaction($customerTransfer);
75 75
         });
76 76
     }
Please login to merge, or discard this patch.
Zed/CmsBlockCategoryConnector/Business/Model/CmsBlockCategoryWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function updateCmsBlock(CmsBlockTransfer $cmsBlockTransfer)
61 61
     {
62
-        $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer) {
62
+        $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer) {
63 63
             $this->updateCmsBlockCategoryRelationsTransaction($cmsBlockTransfer);
64 64
         });
65 65
     }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function updateCategory(CategoryTransfer $categoryTransfer)
73 73
     {
74
-        $this->handleDatabaseTransaction(function () use ($categoryTransfer) {
74
+        $this->handleDatabaseTransaction(function() use ($categoryTransfer) {
75 75
             $this->updateCategoryCmsBlockRelationsTransaction($categoryTransfer);
76 76
         });
77 77
     }
Please login to merge, or discard this patch.
src/Spryker/Yves/ZedRequest/Plugin/ZedRequestHeaderMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function getCallable()
43 43
     {
44
-        return Middleware::mapRequest(function (RequestInterface $request) {
44
+        return Middleware::mapRequest(function(RequestInterface $request) {
45 45
             if ($request->hasHeader('X-Yves-Host')) {
46 46
                 $request = $request->withAddedHeader('X-Request-ID', $this->utilNetworkService->getRequestId());
47 47
             }
Please login to merge, or discard this patch.
ZedRequest/src/Spryker/Yves/ZedRequest/Plugin/ZedResponseLogPlugin.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
      */
34 34
     public function getCallable()
35 35
     {
36
-        return Middleware::mapResponse(function (ResponseInterface $response) {
36
+        return Middleware::mapResponse(function(ResponseInterface $response) {
37 37
             if ($response->hasHeader(AbstractHttpClient::HEADER_HOST_ZED)) {
38 38
                 $message = sprintf(
39 39
                     'Transfer response [%s]',
Please login to merge, or discard this patch.
ZedRequest/src/Spryker/Yves/ZedRequest/Plugin/ZedRequestLogPlugin.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
      */
34 34
     public function getCallable()
35 35
     {
36
-        return Middleware::mapRequest(function (RequestInterface $request) {
36
+        return Middleware::mapRequest(function(RequestInterface $request) {
37 37
             if ($request->hasHeader(AbstractHttpClient::HEADER_HOST_YVES)) {
38 38
                 $this->getLogger()->info(sprintf(
39 39
                     'Transfer request [%s] %s',
Please login to merge, or discard this patch.
Client/ZedRequest/ServiceProvider/ZedRequestClientServiceProvider.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
     public function register(Application $app)
26 26
     {
27 27
         $containerGlobals = new ContainerGlobals();
28
-        $containerGlobals[static::CLIENT_ZED_REQUEST] = function () {
28
+        $containerGlobals[static::CLIENT_ZED_REQUEST] = function() {
29 29
             $container = new Container();
30 30
 
31 31
             return $container->getLocator()->zedRequest()->client();
Please login to merge, or discard this patch.
Bundles/Money/src/Spryker/Zed/Money/Communication/Form/Type/MoneyType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         $builder->addEventListener(
56 56
             FormEvents::PRE_SET_DATA,
57
-            function (FormEvent $event) use ($validationGroups) {
57
+            function(FormEvent $event) use ($validationGroups) {
58 58
                 $moneyCurrencyOptions = $this->getFactory()
59 59
                     ->createMoneyDataProvider()
60 60
                     ->getMoneyCurrencyOptionsFor($event->getData());
Please login to merge, or discard this patch.
Zed/ProductOptionCartConnector/Business/Model/ProductOptionCartQuantity.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         foreach ($quoteTransfer->getItems() as $itemTransfer) {
22 22
             $itemQuantity = $itemTransfer->getQuantity();
23 23
             foreach ($itemTransfer->getProductOptions() as $productOptionTransfer) {
24
-                 $productOptionTransfer->setQuantity($itemQuantity);
24
+                    $productOptionTransfer->setQuantity($itemQuantity);
25 25
             }
26 26
         }
27 27
 
Please login to merge, or discard this patch.
SprykerTest/Zed/CmsContentWidget/Business/CmsContentWidgetFacadeTest.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -131,11 +131,11 @@  discard block
 block discarded – undo
131 131
     {
132 132
         return [
133 133
             [
134
-               'getFunctionName' => 'functionName',
135
-               'getAvailableTemplates' => [
136
-                   'identifier' => '@module/path/to/template.twig',
137
-               ],
138
-               'getUsageInformation' => 'how to..',
134
+                'getFunctionName' => 'functionName',
135
+                'getAvailableTemplates' => [
136
+                    'identifier' => '@module/path/to/template.twig',
137
+                ],
138
+                'getUsageInformation' => 'how to..',
139 139
             ],
140 140
             [
141 141
                 'getFunctionName' => 'functionName1',
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
         $container = $this->createZedContainer();
186 186
         $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
187 187
             return [
188
-              'function' => $cmsContentWidgetParameterMapperPluginMock,
188
+                'function' => $cmsContentWidgetParameterMapperPluginMock,
189 189
             ];
190 190
         };
191 191
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,13 +182,13 @@
 block discarded – undo
182 182
         $cmsBusinessFactory = $this->createBusinessFactory();
183 183
 
184 184
         $container = $this->createZedContainer();
185
-        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
185
+        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function(Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
186 186
             return [
187 187
               'function' => $cmsContentWidgetParameterMapperPluginMock,
188 188
             ];
189 189
         };
190 190
 
191
-        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function (Container $container) {
191
+        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function(Container $container) {
192 192
             return $this->createGlossaryFacadeMock();
193 193
         };
194 194
 
Please login to merge, or discard this patch.