Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Zed/SalesOrderThreshold/Business/ExpenseCalculator/ExpenseCalculator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
      */
169 169
     protected function filterSalesOrderThresholdsByThresholdGroup(array $salesOrderThresholdValueTransfers, string $thresholdGroup): array
170 170
     {
171
-        return array_filter($salesOrderThresholdValueTransfers, function (SalesOrderThresholdValueTransfer $salesOrderThresholdValueTransfers) use ($thresholdGroup) {
171
+        return array_filter($salesOrderThresholdValueTransfers, function(SalesOrderThresholdValueTransfer $salesOrderThresholdValueTransfers) use ($thresholdGroup) {
172 172
             return $salesOrderThresholdValueTransfers->getSalesOrderThresholdType()->getThresholdGroup() === $thresholdGroup;
173 173
         });
174 174
     }
Please login to merge, or discard this patch.
Spryker/Zed/ShoppingList/Business/Model/QuoteToShoppingListConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     {
87 87
         $shoppingListFromCartRequestTransfer->requireIdQuote()->requireCustomer();
88 88
 
89
-        return $this->getTransactionHandler()->handleTransaction(function () use ($shoppingListFromCartRequestTransfer) {
89
+        return $this->getTransactionHandler()->handleTransaction(function() use ($shoppingListFromCartRequestTransfer) {
90 90
             return $this->executeCreateShoppingListFromQuoteTransaction($shoppingListFromCartRequestTransfer);
91 91
         });
92 92
     }
Please login to merge, or discard this patch.
Spryker/Zed/ShoppingList/Business/ShoppingList/ShoppingListShareDeleter.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
             ->setId($idShoppingList)
213 213
             ->setEvent(ShoppingListEvents::SHOPPING_LIST_UNPUBLISH)
214 214
             ->setModifiedColumns([
215
-                 $companyUserTransfer->getCustomer()->getCustomerReference() => ShoppingListTransfer::CUSTOMER_REFERENCE,
215
+                    $companyUserTransfer->getCustomer()->getCustomerReference() => ShoppingListTransfer::CUSTOMER_REFERENCE,
216 216
             ]);
217 217
         $this->eventFacade->trigger(ShoppingListEvents::SHOPPING_LIST_UNPUBLISH, $eventTransfer);
218 218
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
             return (new ShoppingListShareResponseTransfer())->setIsSuccess(false);
86 86
         }
87 87
 
88
-        $this->getTransactionHandler()->handleTransaction(function () use ($shoppingListDismissRequest) {
88
+        $this->getTransactionHandler()->handleTransaction(function() use ($shoppingListDismissRequest) {
89 89
             $this->executeDismissShoppingListSharingTransaction($shoppingListDismissRequest);
90 90
         });
91 91
 
Please login to merge, or discard this patch.
Zed/CustomerAccessStorage/Business/CustomerAccessStorageFacadeTest.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/CustomerAccessGui/Communication/Form/CustomerAccessForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,13 +64,13 @@
 block discarded – undo
64 64
 
65 65
         $builder
66 66
             ->get(static::FIELD_CONTENT_TYPE_ACCESS)
67
-            ->addModelTransformer(new CallbackTransformer(function ($customerAccess): array {
67
+            ->addModelTransformer(new CallbackTransformer(function($customerAccess): array {
68 68
                 if ($customerAccess) {
69 69
                     return (array)$customerAccess;
70 70
                 }
71 71
 
72 72
                 return [];
73
-            }, function ($customerAccess): ArrayObject {
73
+            }, function($customerAccess): ArrayObject {
74 74
                 return new ArrayObject($customerAccess);
75 75
             }));
76 76
 
Please login to merge, or discard this patch.
Zed/CustomerAccess/Business/CustomerAccess/CustomerAccessUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function updateUnauthenticatedCustomerAccess(CustomerAccessTransfer $customerAccessTransfer): CustomerAccessTransfer
37 37
     {
38
-        return $this->getTransactionHandler()->handleTransaction(function () use ($customerAccessTransfer) {
38
+        return $this->getTransactionHandler()->handleTransaction(function() use ($customerAccessTransfer) {
39 39
             $this->customerAccessEntityManager->setAllContentTypesToAccessible();
40 40
 
41 41
             return $this->customerAccessEntityManager->setContentTypesToInaccessible($customerAccessTransfer);
Please login to merge, or discard this patch.
SprykerTest/Zed/ProductAttribute/Business/ProductAttributeFacadeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -494,7 +494,7 @@
 block discarded – undo
494 494
             $glossaryKeyBuilderMock,
495 495
         ])->setMethods(['getLocaleByName'])->getMock();
496 496
 
497
-        $attributeTranslatorMock->method('getLocaleByName')->willReturnCallback(function ($localeName) {
497
+        $attributeTranslatorMock->method('getLocaleByName')->willReturnCallback(function($localeName) {
498 498
             return $this->tester->getLocale($localeName);
499 499
         });
500 500
 
Please login to merge, or discard this patch.
Communication/Form/Product/Concrete/ProductConcreteSuperAttributeForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             Select2ComboBoxType::class,
60 60
             [
61 61
                 'choices' => $this->extractAttributeValuesFromTransfer($options[static::OPTION_PRODUCT_MANAGEMENT_ATTRIBUTE_TRANSFER]),
62
-                'choice_label' => function ($choiceValue) {
62
+                'choice_label' => function($choiceValue) {
63 63
                     return $choiceValue;
64 64
                 },
65 65
                 'label' => false,
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     protected function extractAttributeValuesFromTransfer(ProductManagementAttributeTransfer $productManagementAttributeTransfer)
120 120
     {
121
-        return array_map(function (ProductManagementAttributeValueTransfer $productManagementAttributeValueTransfer) {
121
+        return array_map(function(ProductManagementAttributeValueTransfer $productManagementAttributeValueTransfer) {
122 122
             return $productManagementAttributeValueTransfer->getValue();
123 123
         }, $productManagementAttributeTransfer->getValues()->getArrayCopy());
124 124
     }
Please login to merge, or discard this patch.
Form/Validator/Constraints/ProductAttributeUniqueCombinationValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     protected function getAttributeCombinationsFromConcreteProducts(array $concreteProducts)
58 58
     {
59
-        return array_map(function (ProductConcreteTransfer $productConcreteTransfer) {
59
+        return array_map(function(ProductConcreteTransfer $productConcreteTransfer) {
60 60
             return $productConcreteTransfer->getAttributes();
61 61
         }, $concreteProducts);
62 62
     }
Please login to merge, or discard this patch.