Passed
Push — master ( 093472...d84877 )
by
unknown
26:06
created
Business/CompanyBusinessUnitCreator/CompanyBusinessUnitCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             ->setIsSuccessful(true)
65 65
             ->addMessage((new ResponseMessageTransfer())->setText(static::MESSAGE_BUSINESS_UNIT_CREATE_SUCCESS));
66 66
 
67
-        return $this->getTransactionHandler()->handleTransaction(function () use ($companyBusinessUnitResponseTransfer) {
67
+        return $this->getTransactionHandler()->handleTransaction(function() use ($companyBusinessUnitResponseTransfer) {
68 68
             return $this->executeCreateTransaction($companyBusinessUnitResponseTransfer);
69 69
         });
70 70
     }
Please login to merge, or discard this patch.
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.
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/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.
Communication/Form/LocalizedMessagesType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             ->add(static::FIELD_MESSAGE, TextType::class, [
50 50
                 'required' => false,
51 51
                 'constraints' => [
52
-                    new Callback(function ($value, ExecutionContextInterface $context) {
52
+                    new Callback(function($value, ExecutionContextInterface $context) {
53 53
                         /** @var \Symfony\Component\Form\Form $form */
54 54
                         $form = $context->getObject();
55 55
                         $parentThresholdGroupForm = $form->getParent()->getParent();
Please login to merge, or discard this patch.
Zed/SalesOrderThresholdGui/Communication/Form/LocalizedMessagesType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $builder->add(static::FIELD_MESSAGE, TextType::class, [
46 46
             'required' => false,
47 47
             'constraints' => [
48
-                new Callback(function ($value, ExecutionContextInterface $context) {
48
+                new Callback(function($value, ExecutionContextInterface $context) {
49 49
                     /** @var \Symfony\Component\Form\Form $form */
50 50
                     $form = $context->getObject();
51 51
                     $parentThresholdGroupForm = $form->getParent()->getParent();
Please login to merge, or discard this patch.