Passed
Push — master ( 093472...d84877 )
by
unknown
26:06
created
src/Spryker/Zed/ShoppingList/Business/Model/ShoppingListWriter.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
             ->setId($shoppingListTransfer->getIdShoppingList())
235 235
             ->setEvent(ShoppingListEvents::SHOPPING_LIST_UNPUBLISH)
236 236
             ->setModifiedColumns([
237
-                 $shoppingListTransfer->getCustomerReference() => ShoppingListTransfer::CUSTOMER_REFERENCE,
237
+                    $shoppingListTransfer->getCustomerReference() => ShoppingListTransfer::CUSTOMER_REFERENCE,
238 238
             ]);
239 239
         $this->eventFacade->trigger(ShoppingListEvents::SHOPPING_LIST_UNPUBLISH, $eventTransfer);
240 240
     }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         }
145 145
 
146 146
         return $this->getTransactionHandler()->handleTransaction(
147
-            function () use ($shoppingListTransfer) {
147
+            function() use ($shoppingListTransfer) {
148 148
                 return $this->executeRemoveShoppingListTransaction($shoppingListTransfer);
149 149
             },
150 150
         );
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     public function saveShoppingList(ShoppingListTransfer $shoppingListTransfer): ShoppingListTransfer
173 173
     {
174 174
         return $this->getTransactionHandler()->handleTransaction(
175
-            function () use ($shoppingListTransfer) {
175
+            function() use ($shoppingListTransfer) {
176 176
                 return $this->executeSaveShoppingListTransaction($shoppingListTransfer);
177 177
             },
178 178
         );
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      */
202 202
     protected function deleteShoppingListItems(ShoppingListTransfer $shoppingListTransfer): ShoppingListResponseTransfer
203 203
     {
204
-        $this->getTransactionHandler()->handleTransaction(function () use ($shoppingListTransfer) {
204
+        $this->getTransactionHandler()->handleTransaction(function() use ($shoppingListTransfer) {
205 205
             $this->executeDeleteShoppingListItemsTransaction($shoppingListTransfer);
206 206
         });
207 207
 
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductStorage/Business/Attribute/AttributeMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@
 block discarded – undo
270 270
      */
271 271
     protected function filterSuperAttributes(array $productAttributes): array
272 272
     {
273
-        return array_filter($productAttributes, function (string $attribute) {
273
+        return array_filter($productAttributes, function(string $attribute) {
274 274
             return isset(static::$superAttributesCache[$attribute]);
275 275
         });
276 276
     }
Please login to merge, or discard this patch.
Zed/FileManagerGui/Communication/Form/DataProvider/FileFormDataProvider.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
             ->getItems()
87 87
             ->getArrayCopy();
88 88
 
89
-        return array_map(function (MimeTypeTransfer $mimeTypeTransfer) {
89
+        return array_map(function(MimeTypeTransfer $mimeTypeTransfer) {
90 90
             return $mimeTypeTransfer->getName();
91 91
         }, $mimeTypes);
92 92
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ShoppingList/Business/Model/ShoppingListReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@
 block discarded – undo
316 316
     {
317 317
         $shoppingListItemTransfers = (array)$shoppingListItemCollectionTransfer->getItems();
318 318
 
319
-        return array_map(function (ShoppingListItemTransfer $shoppingListItemTransfer) {
319
+        return array_map(function(ShoppingListItemTransfer $shoppingListItemTransfer) {
320 320
             return $shoppingListItemTransfer[ShoppingListItemTransfer::SKU];
321 321
         }, $shoppingListItemTransfers);
322 322
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Permission/Business/PermissionFinder/PermissionFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      */
130 130
     protected function filterNonInfrastructuralPermissions(array $permissions)
131 131
     {
132
-        return array_filter($permissions, function (PermissionTransfer $permission) {
132
+        return array_filter($permissions, function(PermissionTransfer $permission) {
133 133
             return !$permission->getIsInfrastructural();
134 134
         });
135 135
     }
Please login to merge, or discard this patch.
SalesOrderThreshold/Business/Installer/SalesOrderThresholdTypeInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function install(): void
44 44
     {
45
-        $this->getTransactionHandler()->handleTransaction(function () {
45
+        $this->getTransactionHandler()->handleTransaction(function() {
46 46
             $this->executeInstallTransaction();
47 47
         });
48 48
     }
Please login to merge, or discard this patch.
Business/SalesOrderThreshold/SalesOrderThresholdWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
             return false;
126 126
         }
127 127
 
128
-        return $this->getTransactionHandler()->handleTransaction(function () use ($salesOrderThresholdTransfer) {
128
+        return $this->getTransactionHandler()->handleTransaction(function() use ($salesOrderThresholdTransfer) {
129 129
             return $this->executeDeleteSalesOrderThresholdTransaction($salesOrderThresholdTransfer);
130 130
         });
131 131
     }
Please login to merge, or discard this patch.
MerchantRelationshipThreshold/MerchantRelationshipThresholdWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
             return false;
103 103
         }
104 104
 
105
-        return $this->getTransactionHandler()->handleTransaction(function () use ($merchantRelationshipSalesOrderThresholdTransfer) {
105
+        return $this->getTransactionHandler()->handleTransaction(function() use ($merchantRelationshipSalesOrderThresholdTransfer) {
106 106
             return $this->executeDeleteMerchantRelationshipSalesOrderThresholdTransaction($merchantRelationshipSalesOrderThresholdTransfer);
107 107
         });
108 108
     }
Please login to merge, or discard this patch.
Zed/SalesOrderThreshold/Business/ThresholdMessenger/ThresholdMessenger.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.