Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
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.
PriceProductVolumeGui/Communication/Form/PriceVolumeCollectionFormType.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
         $resolver->setRequired(PriceVolumeCollectionDataProvider::OPTION_FRACTION_DIGITS);
60 60
 
61 61
         $resolver->setDefaults([
62
-            'validation_groups' => function () {
62
+            'validation_groups' => function() {
63 63
                 return [Constraint::DEFAULT_GROUP, static::VALIDATION_VOLUMES_GROUP];
64 64
             },
65 65
         ]);
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     {
158 158
         $savedPriceProductVolumeItemTransfers = [];
159 159
 
160
-        return function (PriceProductVolumeItemTransfer $priceProductVolumeItemTransfer, ExecutionContextInterface $context) use (&$savedPriceProductVolumeItemTransfers) {
160
+        return function(PriceProductVolumeItemTransfer $priceProductVolumeItemTransfer, ExecutionContextInterface $context) use (&$savedPriceProductVolumeItemTransfers) {
161 161
             if (empty(array_filter($priceProductVolumeItemTransfer->toArray()))) {
162 162
                 return;
163 163
             }
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.
Processor/Validator/Constraint/RestRequestValidatorConstraintResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      */
119 119
     protected function instantiateConstraintFromConfig(): callable
120 120
     {
121
-        return function (array $validatorConfig): Constraint {
121
+        return function(array $validatorConfig): Constraint {
122 122
             $shortClassName = key($validatorConfig);
123 123
             $parameters = $this->getParameters($validatorConfig);
124 124
 
Please login to merge, or discard this patch.