Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Business/PriceProductSchedule/PriceProductScheduleDisabler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $productSchedulePricesForDisable = $this->priceProductScheduleRepository->findPriceProductSchedulesToDisable();
79 79
 
80 80
         foreach ($productSchedulePricesForDisable as $priceProductScheduleTransfer) {
81
-            $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): void {
81
+            $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): void {
82 82
                 $this->executeExitLogicTransaction($priceProductScheduleTransfer);
83 83
             });
84 84
         }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
             ->findPriceProductSchedulesToDisableByIdProductAbstract($idProductAbstract);
96 96
 
97 97
         foreach ($productSchedulePricesForDisable as $priceProductScheduleTransfer) {
98
-            $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): void {
98
+            $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): void {
99 99
                 $this->executeExitLogicTransaction($priceProductScheduleTransfer);
100 100
             });
101 101
         }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
             ->findPriceProductSchedulesToDisableByIdProductConcrete($idProductConcrete);
113 113
 
114 114
         foreach ($productSchedulePricesForDisable as $priceProductScheduleTransfer) {
115
-            $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): void {
115
+            $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): void {
116 116
                 $this->executeExitLogicTransaction($priceProductScheduleTransfer);
117 117
             });
118 118
         }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
             ->findSimilarPriceProductSchedulesToDisable($priceProductScheduleTransfer);
131 131
 
132 132
         foreach ($productSchedulePricesForDisable as $priceProductScheduleTransfer) {
133
-            $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): void {
133
+            $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): void {
134 134
                 $this->executeExitLogicTransaction($priceProductScheduleTransfer);
135 135
             });
136 136
         }
Please login to merge, or discard this patch.
Business/PriceProductSchedule/Updater/PriceProductScheduleUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      */
50 50
     public function updateAndApplyPriceProductSchedule(PriceProductScheduleTransfer $priceProductScheduleTransfer): PriceProductScheduleResponseTransfer
51 51
     {
52
-        return $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): PriceProductScheduleResponseTransfer {
52
+        return $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): PriceProductScheduleResponseTransfer {
53 53
             return $this->executeUpdateAndApplyLogicTransaction($priceProductScheduleTransfer);
54 54
         });
55 55
     }
Please login to merge, or discard this patch.
PriceProductSchedule/Applier/AbstractProductPriceProductScheduleApplier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     public function applyScheduledPrices(PriceProductScheduleTransfer $priceProductScheduleTransfer): void
65 65
     {
66
-        $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer) {
66
+        $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer) {
67 67
             $this->executeApplyScheduledPrices($priceProductScheduleTransfer);
68 68
         });
69 69
     }
Please login to merge, or discard this patch.
Executor/PriceProductScheduleApplyTransactionExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     public function execute(array $priceProductScheduleForEnable): void
58 58
     {
59 59
         foreach ($priceProductScheduleForEnable as $priceProductScheduleTransfer) {
60
-            $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): void {
60
+            $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): void {
61 61
                 $this->executeApplyScheduledPrices($priceProductScheduleTransfer);
62 62
             });
63 63
         }
Please login to merge, or discard this patch.
Customer/src/Spryker/Service/Customer/CustomerDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     protected function addCustomerService(Container $container): Container
39 39
     {
40
-        $container->set(static::SERVICE_UTIL_ENCODING, function (Container $container) {
40
+        $container->set(static::SERVICE_UTIL_ENCODING, function(Container $container) {
41 41
             return new CustomerToUtilEncodingServiceBridge($container->getLocator()->utilEncoding()->service());
42 42
         });
43 43
 
Please login to merge, or discard this patch.
PriceProductSchedule/Applier/ConcreteProductPriceProductScheduleApplier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     public function applyScheduledPrices(PriceProductScheduleTransfer $priceProductScheduleTransfer): void
65 65
     {
66
-        $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer) {
66
+        $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer) {
67 67
             $this->executeApplyScheduledPrices($priceProductScheduleTransfer);
68 68
         });
69 69
     }
Please login to merge, or discard this patch.
Bundles/CmsSlot/src/Spryker/Client/CmsSlot/CmsSlotDependencyProvider.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
     protected function addExternalDataProviderStrategyPlugins(Container $container): Container
35 35
     {
36
-        $container->set(static::EXTERNAL_DATA_PROVIDER_STRATEGY_PLUGINS, function () {
36
+        $container->set(static::EXTERNAL_DATA_PROVIDER_STRATEGY_PLUGINS, function() {
37 37
             return $this->getExternalDataProviderStrategyPlugins();
38 38
         });
39 39
 
Please login to merge, or discard this patch.
Zed/ZedRequest/Communication/Plugin/GatewayServiceProviderPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function register(Application $app)
54 54
     {
55
-        $app->extend('dispatcher', function (EventDispatcherInterface $eventDispatcher) {
55
+        $app->extend('dispatcher', function(EventDispatcherInterface $eventDispatcher) {
56 56
             $eventDispatcher->addListener(
57 57
                 KernelEvents::CONTROLLER,
58 58
                 [
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     public function boot(Application $app)
88 88
     {
89
-        $app->before(function (Request $request) {
89
+        $app->before(function(Request $request) {
90 90
             TransferServer::getInstance()->setRequest($request);
91 91
         });
92 92
     }
Please login to merge, or discard this patch.
Communication/Plugin/Strategy/AbstractSalesOrderThresholdStrategyPlugin.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
      * {@inheritDoc}
18 18
      *
19 19
      * @api
20
-
21 20
      * @return \Generated\Shared\Transfer\SalesOrderThresholdTypeTransfer
22 21
      */
23 22
     public function toTransfer(): SalesOrderThresholdTypeTransfer
Please login to merge, or discard this patch.