Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Bundles/Storage/src/Spryker/Zed/Storage/StorageDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     protected function addStorageClient(Container $container): Container
57 57
     {
58
-        $container->set(static::CLIENT_STORAGE, function (Container $container) {
58
+        $container->set(static::CLIENT_STORAGE, function(Container $container) {
59 59
             return $container->getLocator()->storage()->client();
60 60
         });
61 61
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     protected function addUtilSanitizeService(Container $container): Container
71 71
     {
72
-        $container->set(static::SERVICE_UTIL_SANITIZE, function (Container $container) {
72
+        $container->set(static::SERVICE_UTIL_SANITIZE, function(Container $container) {
73 73
             return new StorageToUtilSanitizeServiceBridge($container->getLocator()->utilSanitize()->service());
74 74
         });
75 75
 
Please login to merge, or discard this patch.
Development/src/Spryker/Zed/Development/Business/PhpMd/PhpMdRunner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@
 block discarded – undo
269 269
 
270 270
         $process = new Process(explode(' ', $command), $this->config->getPathToRoot());
271 271
         $process->setTimeout($this->config->getProcessTimeout());
272
-        $process->run(function ($type, $buffer) {
272
+        $process->run(function($type, $buffer) {
273 273
             echo $buffer;
274 274
         });
275 275
 
Please login to merge, or discard this patch.
Zed/PriceProduct/Business/Model/Product/PriceProductAbstractWriter.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
     public function persistProductAbstractPriceCollection(
91 91
         ProductAbstractTransfer $productAbstractTransfer
92 92
     ): ProductAbstractTransfer {
93
-        return $this->handleDatabaseTransaction(function () use ($productAbstractTransfer) {
93
+        return $this->handleDatabaseTransaction(function() use ($productAbstractTransfer) {
94 94
             return $this->executePersistProductAbstractPriceCollectionTransaction($productAbstractTransfer);
95 95
         });
96 96
     }
Please login to merge, or discard this patch.
Zed/PriceProduct/Business/Model/Product/PriceProductConcreteWriter.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
     public function persistProductConcretePriceCollection(
91 91
         ProductConcreteTransfer $productConcreteTransfer
92 92
     ): ProductConcreteTransfer {
93
-        return $this->handleDatabaseTransaction(function () use ($productConcreteTransfer) {
93
+        return $this->handleDatabaseTransaction(function() use ($productConcreteTransfer) {
94 94
             return $this->executePersistProductConcretePriceCollectionTransaction($productConcreteTransfer);
95 95
         });
96 96
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Shipment/Business/ShipmentGroup/ShipmentMethodExpander.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,8 +82,7 @@
 block discarded – undo
82 82
     protected function getPrice(OrderTransfer $orderTransfer, ShipmentPriceTransfer $shipmentMethodPriceTransfer): ?int
83 83
     {
84 84
         return $orderTransfer->getPriceMode() === ShipmentConstants::PRICE_MODE_GROSS ?
85
-            $shipmentMethodPriceTransfer->getDefaultGrossPrice() :
86
-            $shipmentMethodPriceTransfer->getDefaultNetPrice();
85
+            $shipmentMethodPriceTransfer->getDefaultGrossPrice() : $shipmentMethodPriceTransfer->getDefaultNetPrice();
87 86
     }
88 87
 
89 88
     /**
Please login to merge, or discard this patch.
src/Spryker/Zed/Shipment/Business/ShipmentMethod/MethodPriceReader.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,8 +190,7 @@
 block discarded – undo
190 190
     protected function getPriceByMode(QuoteTransfer $quoteTransfer, ShipmentPriceTransfer $shipmentMethodPriceTransfer): ?int
191 191
     {
192 192
         return $quoteTransfer->getPriceMode() === ShipmentConstants::PRICE_MODE_GROSS ?
193
-            $shipmentMethodPriceTransfer->getDefaultGrossPrice() :
194
-            $shipmentMethodPriceTransfer->getDefaultNetPrice();
193
+            $shipmentMethodPriceTransfer->getDefaultGrossPrice() : $shipmentMethodPriceTransfer->getDefaultNetPrice();
195 194
     }
196 195
 
197 196
     /**
Please login to merge, or discard this patch.
Spryker/Zed/ShipmentGui/Communication/Form/Shipment/ShipmentFormType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
                 $this->createDateConstraint(),
109 109
                 $this->createDateGreaterThanOrEqualConstraint(static::VALIDATION_DATE_TODAY),
110 110
             ],
111
-            'validation_groups' => function (FormInterface $form) {
111
+            'validation_groups' => function(FormInterface $form) {
112 112
                 $formParent = $form->getParent();
113 113
                 if ($formParent === null || !$formParent->has(static::VALIDATION_DATE_TODAY)) {
114 114
                     return [static::VALIDATION_GROUP_SHIPPING_ADDRESS];
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductOption/Persistence/ProductOptionQueryContainer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -417,7 +417,7 @@
 block discarded – undo
417 417
                                 ->filterByIso2Code($countryIso2Code)
418 418
                             ->endUse()
419 419
                             ->_or()
420
-                               ->filterByName(TaxConstants::TAX_EXEMPT_PLACEHOLDER)
420
+                                ->filterByName(TaxConstants::TAX_EXEMPT_PLACEHOLDER)
421 421
                         ->endUse()
422 422
                     ->endUse()
423 423
                     ->withColumn(SpyTaxSetTableMap::COL_NAME)
Please login to merge, or discard this patch.
Business/PriceProductSchedule/Creator/PriceProductScheduleCreator.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
         $priceProductScheduleTransfer = $this
71 71
             ->expandPriceProductScheduleTransferWithPriceProductScheduleList($priceProductScheduleTransfer);
72 72
 
73
-        return $this->getTransactionHandler()->handleTransaction(function () use ($priceProductScheduleTransfer): PriceProductScheduleResponseTransfer {
73
+        return $this->getTransactionHandler()->handleTransaction(function() use ($priceProductScheduleTransfer): PriceProductScheduleResponseTransfer {
74 74
             return $this->executeCreateLogicTransaction($priceProductScheduleTransfer);
75 75
         });
76 76
     }
Please login to merge, or discard this patch.