Passed
Push — master ( a9f76a...c7e826 )
by
unknown
50:44
created
Zed/CmsSlotBlockCmsGui/Communication/Form/CmsPageSlotBlockConditionForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,10 +75,10 @@
 block discarded – undo
75 75
         $builder->add(static::FIELD_ALL, ChoiceType::class, [
76 76
             'required' => false,
77 77
             'choices' => $options[static::OPTION_ALL_ARRAY],
78
-            'choice_value' => function ($choice) {
78
+            'choice_value' => function($choice) {
79 79
                 return $choice ?? true;
80 80
             },
81
-            'choice_attr' => function ($choice, $key, $value) {
81
+            'choice_attr' => function($choice, $key, $value) {
82 82
                 return [
83 83
                     'data-disable' => $value,
84 84
                     'data-inputs' => $this->getFactory()->getUtilEncoding()->encodeJson([static::FIELD_CMS_PAGE_IDS]),
Please login to merge, or discard this patch.
CmsSlot/tests/SprykerTest/Zed/CmsSlot/_support/Helper/CmsSlotHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         $cmsSlotTransfer->setIdCmsSlot($cmsSlotEntity->getIdCmsSlot());
80 80
 
81
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($cmsSlotTransfer): void {
81
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($cmsSlotTransfer): void {
82 82
             $this->cleanupCmsSlot($cmsSlotTransfer);
83 83
         });
84 84
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
         $cmsSlotTemplateTransfer->setIdCmsSlotTemplate($cmsSlotTemplateEntity->getIdCmsSlotTemplate());
116 116
 
117
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($cmsSlotTemplateTransfer): void {
117
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($cmsSlotTemplateTransfer): void {
118 118
             $this->cleanupCmsSlotTemplate($cmsSlotTemplateTransfer);
119 119
         });
120 120
 
Please login to merge, or discard this patch.
Communication/FormExpander/ProductListMerchantRelationshipFormExpander.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 expand(FormBuilderInterface $builder, array $options): FormBuilderInterface
43 43
     {
44
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) {
44
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) {
45 45
             $productListOptions = $this->productListMerchantRelationshipFormDataProvider->getOptions($event->getData());
46 46
 
47 47
             $event->getForm()
Please login to merge, or discard this patch.
src/Spryker/Glue/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.
Communication/Form/CategorySlotBlockConditionForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,10 +75,10 @@
 block discarded – undo
75 75
         $builder->add(static::FIELD_ALL, ChoiceType::class, [
76 76
             'required' => false,
77 77
             'choices' => $options[static::OPTION_ALL_ARRAY],
78
-            'choice_value' => function ($choice) {
78
+            'choice_value' => function($choice) {
79 79
                 return $choice ?? true;
80 80
             },
81
-            'choice_attr' => function ($choice, $key, $value) {
81
+            'choice_attr' => function($choice, $key, $value) {
82 82
                 return [
83 83
                     'data-disable' => $value,
84 84
                     'data-inputs' => $this->getFactory()->getUtilEncoding()->encodeJson([static::FIELD_CATEGORY_IDS]),
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductList/Business/ProductList/ProductListWriter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function saveProductList(ProductListTransfer $productListTransfer): ProductListTransfer
86 86
     {
87
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productListTransfer) {
87
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productListTransfer) {
88 88
             return $this->executeSaveProductListTransaction($productListTransfer);
89 89
         });
90 90
     }
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function createProductList(ProductListTransfer $productListTransfer): ProductListResponseTransfer
98 98
     {
99
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productListTransfer) {
99
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productListTransfer) {
100 100
             return $this->executeCreateProductListTransaction($productListTransfer);
101 101
         });
102 102
     }
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function updateProductList(ProductListTransfer $productListTransfer): ProductListResponseTransfer
110 110
     {
111
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productListTransfer) {
111
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productListTransfer) {
112 112
             return $this->executeUpdateProductListTransaction($productListTransfer);
113 113
         });
114 114
     }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
             return $productListResponseTransfer;
131 131
         }
132 132
 
133
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productListTransfer, $productListResponseTransfer) {
133
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productListTransfer, $productListResponseTransfer) {
134 134
             return $this->executeDeleteProductListTransaction($productListTransfer, $productListResponseTransfer);
135 135
         });
136 136
     }
Please login to merge, or discard this patch.
Spryker/Zed/Form/Communication/Plugin/Application/FormApplicationPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function addFormFactory(ContainerInterface $container): ContainerInterface
56 56
     {
57
-        $container->set(static::SERVICE_FORM_FACTORY, function () use ($container) {
57
+        $container->set(static::SERVICE_FORM_FACTORY, function() use ($container) {
58 58
             $formFactoryBuilder = $this->getFactory()
59 59
                 ->createFormFactoryBuilder();
60 60
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     protected function addFormCsrfProvider(ContainerInterface $container): ContainerInterface
77 77
     {
78
-        $container->set(static::SERVICE_FORM_CSRF_PROVIDER, function (ContainerInterface $container) {
78
+        $container->set(static::SERVICE_FORM_CSRF_PROVIDER, function(ContainerInterface $container) {
79 79
             return $this->createCsrfTokenManager($container);
80 80
         });
81 81
 
Please login to merge, or discard this patch.
Validator/Communication/Plugin/Application/ValidatorApplicationPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     protected function addValidatorService(ContainerInterface $container): ContainerInterface
45 45
     {
46
-        $container->set(static::SERVICE_VALIDATOR, function (ContainerInterface $container) {
46
+        $container->set(static::SERVICE_VALIDATOR, function(ContainerInterface $container) {
47 47
             $validatorBuilder = $this->getFactory()->createValidatorBuilder();
48 48
 
49 49
             $validatorBuilder = $this->extendValidator($validatorBuilder, $container);
Please login to merge, or discard this patch.
Form/src/Spryker/Yves/Form/Plugin/Application/FormApplicationPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function addFormFactory(ContainerInterface $container): ContainerInterface
56 56
     {
57
-        $container->set(static::SERVICE_FORM_FACTORY, function () use ($container) {
57
+        $container->set(static::SERVICE_FORM_FACTORY, function() use ($container) {
58 58
             $formFactoryBuilder = $this->getFactory()
59 59
                 ->createFormFactoryBuilder();
60 60
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     protected function addFormCsrfProvider(ContainerInterface $container): ContainerInterface
77 77
     {
78
-        $container->set(static::SERVICE_FORM_CSRF_PROVIDER, function (ContainerInterface $container) {
78
+        $container->set(static::SERVICE_FORM_CSRF_PROVIDER, function(ContainerInterface $container) {
79 79
             return $this->createCsrfTokenManager($container);
80 80
         });
81 81
 
Please login to merge, or discard this patch.