Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Communication/Form/ProductCategorySlotBlockConditionForm.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
     protected function addPreSubmitEventToProductCategoryField(FormBuilderInterface $builder): void
86 86
     {
87
-        $builder->addEventListener(FormEvents::PRE_SUBMIT, function (FormEvent $event): void {
87
+        $builder->addEventListener(FormEvents::PRE_SUBMIT, function(FormEvent $event): void {
88 88
             $eventData = $event->getData();
89 89
 
90 90
             if (!isset($eventData[static::FIELD_PRODUCT_IDS])) {
@@ -112,10 +112,10 @@  discard block
 block discarded – undo
112 112
         $builder->add(static::FIELD_ALL, ChoiceType::class, [
113 113
             'required' => false,
114 114
             'choices' => $options[static::OPTION_ALL_ARRAY],
115
-            'choice_value' => function ($choice) {
115
+            'choice_value' => function($choice) {
116 116
                 return $choice ?? true;
117 117
             },
118
-            'choice_attr' => function ($choice, $key, $value) {
118
+            'choice_attr' => function($choice, $key, $value) {
119 119
                 return [
120 120
                     'data-disable' => $value,
121 121
                     'data-inputs' => $this->getFactory()->getUtilEncoding()->encodeJson([static::FIELD_PRODUCT_IDS, static::FIELD_CATEGORY_IDS]),
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      */
161 161
     protected function addPreSetDataEventToProductIdsField(FormBuilderInterface $builder): void
162 162
     {
163
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event): void {
163
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event): void {
164 164
             if (!$event->getData()) {
165 165
                 return;
166 166
             }
Please login to merge, or discard this patch.
GlueApplication/Plugin/Application/GlueApplicationApplicationPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     protected function addDebugMode(ContainerInterface $container): ContainerInterface
42 42
     {
43
-        $container->set(static::DEBUG, function () {
43
+        $container->set(static::DEBUG, function() {
44 44
             return $this->getConfig()->getIsRestDebugEnabled();
45 45
         });
46 46
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function addResourceBuilder(ContainerInterface $container): ContainerInterface
56 56
     {
57
-        $container->set(static::SERVICE_RESOURCE_BUILDER, function () {
57
+        $container->set(static::SERVICE_RESOURCE_BUILDER, function() {
58 58
             return $this->getFactory()->createRestResourceBuilder();
59 59
         });
60 60
 
Please login to merge, or discard this patch.
Zed/SalesConfigurableBundle/SalesConfigurableBundleDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     protected function addGlossaryFacade(Container $container): Container
40 40
     {
41
-        $container->set(static::FACADE_GLOSSARY, function (Container $container) {
41
+        $container->set(static::FACADE_GLOSSARY, function(Container $container) {
42 42
             return new SalesConfigurableBundleToGlossaryFacadeBridge($container->getLocator()->glossary()->facade());
43 43
         });
44 44
 
Please login to merge, or discard this patch.
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/Client/CmsSlotBlock/CmsSlotBlockDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     protected function addCmsSlotBlockVisibilityResolverPlugins(Container $container): Container
38 38
     {
39
-        $container->set(static::PLUGINS_CMS_SLOT_BLOCK_VISIBILITY_RESOLVER, function () {
39
+        $container->set(static::PLUGINS_CMS_SLOT_BLOCK_VISIBILITY_RESOLVER, function() {
40 40
             return $this->getCmsSlotBlockVisibilityResolverPlugins();
41 41
         });
42 42
 
Please login to merge, or discard this patch.
Bundles/Router/src/Spryker/Glue/Router/RouterDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     protected function addRouterPlugins(Container $container): Container
38 38
     {
39
-        $container->set(static::PLUGINS_ROUTER, function () {
39
+        $container->set(static::PLUGINS_ROUTER, function() {
40 40
             return $this->getRouterPlugins();
41 41
         });
42 42
 
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.