Failed Conditions
Branch master (6be865)
by Anton
53:12
created
src/Spryker/Zed/MerchantSwitcher/MerchantSwitcherDependencyProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected function addQuoteFacade(Container $container): Container
47 47
     {
48
-        $container->set(static::FACADE_QUOTE, function (Container $container) {
48
+        $container->set(static::FACADE_QUOTE, function(Container $container) {
49 49
             return new MerchantSwitcherToQuoteFacadeBridge($container->getLocator()->quote()->facade());
50 50
         });
51 51
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     protected function addCartFacade(Container $container): Container
61 61
     {
62
-        $container->set(static::FACADE_CART, function (Container $container) {
62
+        $container->set(static::FACADE_CART, function(Container $container) {
63 63
             return new MerchantSwitcherToCartFacadeBridge($container->getLocator()->cart()->facade());
64 64
         });
65 65
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     protected function addMerchantProductOfferFacade(Container $container): Container
75 75
     {
76
-        $container->set(static::FACADE_MERCHANT_PRODUCT_OFFER, function (Container $container) {
76
+        $container->set(static::FACADE_MERCHANT_PRODUCT_OFFER, function(Container $container) {
77 77
             return new MerchantSwitcherToMerchantProductOfferFacadeBridge($container->getLocator()->merchantProductOffer()->facade());
78 78
         });
79 79
 
Please login to merge, or discard this patch.
Spryker/Client/ProductStorage/Finder/AbstractProductViewTransferFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
     protected function createSelectedAttributesCacheKey(array $selectedAttributes = []): string
135 135
     {
136 136
         $selectedAttributesCacheKey = '';
137
-        array_walk_recursive($selectedAttributes, function ($value, $key) use (&$selectedAttributesCacheKey) {
137
+        array_walk_recursive($selectedAttributes, function($value, $key) use (&$selectedAttributesCacheKey) {
138 138
             $selectedAttributesCacheKey .= $key . '-' . $value;
139 139
         });
140 140
 
Please login to merge, or discard this patch.
ProductLabel/src/Spryker/Zed/ProductLabel/Business/Label/LabelDeleter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
                 ->addMessage($this->createMessageTransfer(static::MESSAGE_PRODUCT_LABEL_NOT_FOUND, [$productLabelId]));
66 66
         }
67 67
 
68
-        $this->getTransactionHandler()->handleTransaction(function () use ($productLabelTransfer) {
68
+        $this->getTransactionHandler()->handleTransaction(function() use ($productLabelTransfer) {
69 69
             $this->executeProductLabelDeleteTransaction($productLabelTransfer);
70 70
         });
71 71
 
Please login to merge, or discard this patch.
Shared/DiscountPromotion/_support/Helper/DiscountPromotionDataHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     private function cleanupDiscountPromotion(DiscountPromotionTransfer $discountPromotionTransfer): void
68 68
     {
69 69
         $cleanupModule = $this->getDataCleanupHelper();
70
-        $cleanupModule->_addCleanup(function () use ($discountPromotionTransfer): void {
70
+        $cleanupModule->_addCleanup(function() use ($discountPromotionTransfer): void {
71 71
             $this->debug('Deleting DiscountPromotion: ' . $discountPromotionTransfer->getIdDiscountPromotion());
72 72
             $this->getDiscountPromotionQuery()
73 73
                 ->queryDiscountPromotionByIdDiscountPromotion($discountPromotionTransfer->getIdDiscountPromotion())
Please login to merge, or discard this patch.
Business/DiscountPromotionCreator/DiscountPromotionCreator.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
         $discountPromotionTransfer->requireFkDiscount();
39 39
 
40 40
         return $this->getTransactionHandler()
41
-            ->handleTransaction(function () use ($discountPromotionTransfer) {
41
+            ->handleTransaction(function() use ($discountPromotionTransfer) {
42 42
                 return $this->discountPromotionEntityManager->createDiscountPromotion($discountPromotionTransfer);
43 43
             });
44 44
     }
Please login to merge, or discard this patch.
Business/DiscountPromotionUpdater/DiscountPromotionUpdater.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
         $discountPromotionTransfer->requireFkDiscount();
39 39
 
40 40
         return $this->getTransactionHandler()
41
-            ->handleTransaction(function () use ($discountPromotionTransfer) {
41
+            ->handleTransaction(function() use ($discountPromotionTransfer) {
42 42
                 return $this->discountPromotionEntityManager->updateDiscountPromotion($discountPromotionTransfer);
43 43
             });
44 44
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Shipment/Business/Shipment/ShipmentOrderHydrate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@
 block discarded – undo
301 301
      */
302 302
     protected function getOrderItemTransfersSortCallback(): Closure
303 303
     {
304
-        return function (ItemTransfer $itemTransferA, ItemTransfer $itemTransferB) {
304
+        return function(ItemTransfer $itemTransferA, ItemTransfer $itemTransferB) {
305 305
             if ($itemTransferA->getShipment() === null || $itemTransferB->getShipment() === null) {
306 306
                 return 0;
307 307
             }
Please login to merge, or discard this patch.
SprykerTest/Zed/GlossaryStorage/Business/GlossaryStorageFacadeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         parent::setUp();
42 42
 
43
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
43
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
44 44
             return [
45 45
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
46 46
             ];
Please login to merge, or discard this patch.
src/Spryker/Zed/PriceProduct/Persistence/PriceProductQueryContainer.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -257,7 +257,6 @@
 block discarded – undo
257 257
      * {@inheritDoc}
258 258
      *
259 259
      * @api
260
-
261 260
      * @return \Orm\Zed\PriceProduct\Persistence\SpyPriceProductQuery
262 261
      */
263 262
     public function queryPriceProduct(): SpyPriceProductQuery
Please login to merge, or discard this patch.