Failed Conditions
Branch master (6be865)
by Anton
53:12
created
tests/SprykerTest/Client/StorageDatabase/StorageDatabaseClientTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -289,13 +289,13 @@
 block discarded – undo
289 289
      */
290 290
     protected function setUpDependencies(): void
291 291
     {
292
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
292
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
293 293
             return [
294 294
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
295 295
             ];
296 296
         });
297 297
 
298
-        $this->tester->setDependency(StorageDatabaseDependencyProvider::PLUGIN_STORAGE_READER_PROVIDER, function () {
298
+        $this->tester->setDependency(StorageDatabaseDependencyProvider::PLUGIN_STORAGE_READER_PROVIDER, function() {
299 299
             return $this->getStorageReaderProviderPlugin();
300 300
         });
301 301
     }
Please login to merge, or discard this patch.
Zed/ConfigurableBundleCart/ConfigurableBundleCartDependencyProvider.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
      */
39 39
     protected function addConfigurableBundleTemplateSlotPropelQuery(Container $container): Container
40 40
     {
41
-        $container->set(static::PROPEL_QUERY_CONFIGURABLE_BUNDLE_TEMPLATE_SLOT, $container->factory(function () {
41
+        $container->set(static::PROPEL_QUERY_CONFIGURABLE_BUNDLE_TEMPLATE_SLOT, $container->factory(function() {
42 42
             return SpyConfigurableBundleTemplateSlotQuery::create();
43 43
         }));
44 44
 
Please login to merge, or discard this patch.
_support/ConfigurableBundlePageSearchBusinessTester.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     protected function setQueueAdaptersDependency(): void
131 131
     {
132
-        $this->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
132
+        $this->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
133 133
             return [
134 134
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
135 135
             ];
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     protected function setSearchPageMapPluginsDependency(): void
143 143
     {
144
-        $this->setDependency(SearchDependencyProvider::PLUGIN_SEARCH_PAGE_MAPS, function () {
144
+        $this->setDependency(SearchDependencyProvider::PLUGIN_SEARCH_PAGE_MAPS, function() {
145 145
             return [
146 146
                 new ConfigurableBundleTemplatePageMapPlugin(),
147 147
             ];
Please login to merge, or discard this patch.
Spryker/Glue/ProductOptionsRestApi/Processor/Sorter/ProductOptionSorter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             return $restProductOptionsAttributesTransfers;
32 32
         }
33 33
 
34
-        usort($restProductOptionsAttributesTransfers, function (
34
+        usort($restProductOptionsAttributesTransfers, function(
35 35
             RestProductOptionsAttributesTransfer $currentRestProductOptionsAttributesTransfer,
36 36
             RestProductOptionsAttributesTransfer $nextRestProductOptionsAttributesTransfer
37 37
         ) use ($sorts) {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     protected function removeNonOptionsRelatedSortingParameters(array $sorts): array
92 92
     {
93
-        return array_filter($sorts, function (SortInterface $sort) {
93
+        return array_filter($sorts, function(SortInterface $sort) {
94 94
             return explode(static::SORT_VALUE_DELIMITER, $sort->getField())[0] === ProductOptionsRestApiConfig::RESOURCE_PRODUCT_OPTIONS;
95 95
         });
96 96
     }
Please login to merge, or discard this patch.
Shared/ProductAlternative/_support/Helper/ProductAlternativeDataHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $productConcreteTransfer->addProductAlternativeCreateRequest($productAlternativeCreateRequestTransfer);
37 37
         $this->getProductAlternativeFacade()->persistProductAlternative($productConcreteTransfer);
38 38
 
39
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($productConcreteTransfer): void {
39
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($productConcreteTransfer): void {
40 40
             $this->cleanupProductAlternative($productConcreteTransfer);
41 41
         });
42 42
 
Please login to merge, or discard this patch.
Processor/Expander/ProductLabelByProductConcreteSkuExpander.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function addResourceRelationships(array $restResources, RestRequestInterface $restRequest): array
36 36
     {
37
-        $productConcreteSkus = array_map(function (RestResourceInterface $restResource) {
37
+        $productConcreteSkus = array_map(function(RestResourceInterface $restResource) {
38 38
             return $restResource->getId();
39 39
         }, $restResources);
40 40
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function addProductLabelsResourceRelationships(array $restResources, array $productLabelResources): array
56 56
     {
57
-        return array_map(function (RestResourceInterface $restResource) use ($productLabelResources) {
57
+        return array_map(function(RestResourceInterface $restResource) use ($productLabelResources) {
58 58
             if (empty($productLabelResources[$restResource->getId()])) {
59 59
                 return;
60 60
             }
Please login to merge, or discard this patch.
tests/SprykerTest/Shared/Wishlist/_support/Helper/WishlistDataHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $wishlistTransfer = (new WishlistBuilder($override))->build();
32 32
         $wishlistTransfer = $this->getWishlistFacade()->createWishlist($wishlistTransfer);
33 33
 
34
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($wishlistTransfer): void {
34
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($wishlistTransfer): void {
35 35
             $this->cleanupWishlist($wishlistTransfer);
36 36
         });
37 37
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $wishlistItemTransfer = (new WishlistItemBuilder($override))->build();
49 49
         $wishlistItemTransfer = $this->getWishlistFacade()->addItem($wishlistItemTransfer);
50 50
 
51
-        $this->getDataCleanupHelper()->_addCleanup(function () use ($wishlistItemTransfer): void {
51
+        $this->getDataCleanupHelper()->_addCleanup(function() use ($wishlistItemTransfer): void {
52 52
             $this->cleanupWishlistItem($this->getWishlistFacade()->addItem($wishlistItemTransfer));
53 53
         });
54 54
 
Please login to merge, or discard this patch.
src/Spryker/Client/Search/Delegator/Adapter/SearchDelegatorAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
      */
165 165
     protected function addSearchContextToSearchDocumentTransfers(array $searchDocumentTransfers): array
166 166
     {
167
-        return array_map(function (SearchDocumentTransfer $searchDocumentTransfer) {
167
+        return array_map(function(SearchDocumentTransfer $searchDocumentTransfer) {
168 168
             return $this->addSearchContextToSearchDocumentTransfer($searchDocumentTransfer);
169 169
         }, $searchDocumentTransfers);
170 170
     }
Please login to merge, or discard this patch.
Bundles/Search/src/Spryker/Client/Search/Delegator/SearchDelegator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
      */
216 216
     protected function expandSearchContextTransferForSearchDocumentTransfers(array $searchDocumentTransfers): array
217 217
     {
218
-        return array_map(function (SearchDocumentTransfer $searchDocumentTransfer) {
218
+        return array_map(function(SearchDocumentTransfer $searchDocumentTransfer) {
219 219
             return $this->expandSearchContextTransferForSearchDocumentTransfer($searchDocumentTransfer);
220 220
         }, $searchDocumentTransfers);
221 221
     }
Please login to merge, or discard this patch.