Failed Conditions
Push — master ( e1d726...46c63a )
by mark
50:35
created
ProductViewVariantRestrictionExpander.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      */
141 141
     protected function getRestrictedProductConcreteIds(array $productConcreteIds): array
142 142
     {
143
-        return array_reduce($productConcreteIds, function (array $restrictedProductConcreteIds, int $productConcreteId) {
143
+        return array_reduce($productConcreteIds, function(array $restrictedProductConcreteIds, int $productConcreteId) {
144 144
             if ($this->productConcreteRestrictionReader->isProductConcreteRestricted($productConcreteId)) {
145 145
                 $restrictedProductConcreteIds[] = $productConcreteId;
146 146
             }
Please login to merge, or discard this patch.
Zed/ProductList/Business/RestrictedItemsFilter/RestrictedItemsFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             return;
77 77
         }
78 78
 
79
-        $quoteSkus = array_map(function (ItemTransfer $itemTransfer) {
79
+        $quoteSkus = array_map(function(ItemTransfer $itemTransfer) {
80 80
             return $itemTransfer->getSku();
81 81
         }, $quoteTransfer->getItems()->getArrayCopy());
82 82
 
Please login to merge, or discard this patch.
ProductListRestrictionValidator/ProductListRestrictionValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
         $customerBlacklistIds = $customerProductListCollectionTransfer->getBlacklistIds() ?: [];
54 54
         $customerWhitelistIds = $customerProductListCollectionTransfer->getWhitelistIds() ?: [];
55
-        $cartChangeSkus = array_map(function (ItemTransfer $itemTransfer) {
55
+        $cartChangeSkus = array_map(function(ItemTransfer $itemTransfer) {
56 56
             return $itemTransfer->getSku();
57 57
         }, $cartChangeTransfer->getItems()->getArrayCopy());
58 58
 
Please login to merge, or discard this patch.
Business/DecisionRule/CustomerGroupDecisionRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
         $discountFacadeMock
85 85
             ->expects($this->exactly(2))
86 86
             ->method('queryStringCompare')
87
-            ->willReturnCallback(function (ClauseTransfer $clauseTransfer, string $customerGroupName) {
87
+            ->willReturnCallback(function(ClauseTransfer $clauseTransfer, string $customerGroupName) {
88 88
                 return $clauseTransfer->getValue() === strtolower($customerGroupName);
89 89
             });
90 90
 
Please login to merge, or discard this patch.
Communication/Controller/DependencyProviderPluginUsageController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         $dependencyProviderPluginUsages = $this->getFacade()->getInProjectDependencyProviderUsedPlugins();
74 74
 
75
-        $streamCsv = function () use ($dependencyProviderPluginUsages) {
75
+        $streamCsv = function() use ($dependencyProviderPluginUsages) {
76 76
             $resource = fopen('php://output', 'w');
77 77
             $header = ['organization', 'module', 'dependency_provider_class_name', 'plugin_organization', 'plugin_application', 'plugin_module', 'plugin_class_name'];
78 78
             fputcsv($resource, $header);
Please login to merge, or discard this patch.
Zed/PriceProductMerchantRelationshipStorage/Business/Model/PriceGrouper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      */
67 67
     protected function filterPriceData(array $priceData, string $excludeKey): array
68 68
     {
69
-        $priceData = array_filter($priceData, function ($v, $k) use ($excludeKey) {
69
+        $priceData = array_filter($priceData, function($v, $k) use ($excludeKey) {
70 70
             if ($k === $excludeKey) {
71 71
                 return true;
72 72
             }
Please login to merge, or discard this patch.
Communication/Plugin/Event/Listener/ProductStorageListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
             throw new SkippedTestError('Warning: not in suite environment');
48 48
         }
49 49
 
50
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
50
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
51 51
             return [
52 52
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
53 53
             ];
Please login to merge, or discard this patch.
Communication/Plugin/Event/Listener/GlossaryStorageListenerTest.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.
DocumentationGeneratorRestApi/Business/Analyzer/ResourcePluginAnalyzer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@
 block discarded – undo
237 237
     protected function getResourceIdFromResourceType(string $resourceType): string
238 238
     {
239 239
         $resourceTypeExploded = explode('-', $resourceType);
240
-        $resourceTypeCamelCased = array_map(function ($value) {
240
+        $resourceTypeCamelCased = array_map(function($value) {
241 241
             return ucfirst($this->textInflector->singularize($value));
242 242
         }, $resourceTypeExploded);
243 243
 
Please login to merge, or discard this patch.