Passed
Pull Request — master (#184)
by
unknown
04:04
created
ecs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
6 6
 use Symplify\EasyCodingStandard\ValueObject\Option;
7 7
 
8
-return static function (ContainerConfigurator $containerConfigurator): void {
8
+return static function(ContainerConfigurator $containerConfigurator): void {
9 9
     $containerConfigurator->import('vendor/bitbag/coding-standard/ecs.php');
10 10
 
11 11
     $parameters = $containerConfigurator->parameters();
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductDescriptionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $this->buildProperty(
32 32
             $event,
33 33
             ProductInterface::class,
34
-            function (ProductInterface $product, Document $document): void {
34
+            function(ProductInterface $product, Document $document): void {
35 35
                 /** @var ProductTranslationInterface $productTranslation */
36 36
                 foreach ($product->getTranslations() as $productTranslation) {
37 37
                     $propertyName = $this->productDescriptionNameResolver->resolvePropertyName(
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductNameBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $this->buildProperty(
32 32
             $event,
33 33
             ProductInterface::class,
34
-            function (ProductInterface $product, Document $document): void {
34
+            function(ProductInterface $product, Document $document): void {
35 35
                 /** @var ProductTranslationInterface $productTranslation */
36 36
                 foreach ($product->getTranslations() as $productTranslation) {
37 37
                     $propertyName = $this->productNameNameResolver->resolvePropertyName($productTranslation->getLocale());
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductShortDescriptionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $this->buildProperty(
32 32
             $event,
33 33
             ProductInterface::class,
34
-            function (ProductInterface $product, Document $document): void {
34
+            function(ProductInterface $product, Document $document): void {
35 35
                 /** @var ProductTranslationInterface $productTranslation */
36 36
                 foreach ($product->getTranslations() as $productTranslation) {
37 37
                     $propertyName = $this->productShortDescriptionNameResolver->resolvePropertyName(
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductTaxonsBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->buildProperty(
35 35
             $event,
36 36
             ProductInterface::class,
37
-            function (ProductInterface $product, Document $document): void {
37
+            function(ProductInterface $product, Document $document): void {
38 38
                 $taxons = $this->productTaxonsMapper->mapToUniqueCodes($product);
39 39
 
40 40
                 $document->set($this->taxonsProperty, $taxons);
Please login to merge, or discard this patch.
src/PropertyBuilder/ChannelsBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         $this->buildProperty(
30 30
             $event,
31 31
             ProductInterface::class,
32
-            function (ProductInterface $product, Document $document): void {
32
+            function(ProductInterface $product, Document $document): void {
33 33
                 $channels = [];
34 34
 
35 35
                 foreach ($product->getChannels() as $channel) {
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductTaxonPositionPropertyBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $this->buildProperty(
31 31
             $event,
32 32
             ProductInterface::class,
33
-            function (ProductInterface $product, Document $document): void {
33
+            function(ProductInterface $product, Document $document): void {
34 34
                 foreach ($product->getProductTaxons() as $taxon) {
35 35
                     $document->set(
36 36
                         $this->taxonPositionNameResolver->resolvePropertyName($taxon->getTaxon()->getCode()),
Please login to merge, or discard this patch.
src/PropertyBuilder/SoldUnitsPropertyBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->buildProperty(
35 35
             $event,
36 36
             ProductInterface::class,
37
-            function (ProductInterface $product, Document $document): void {
37
+            function(ProductInterface $product, Document $document): void {
38 38
                 $soldUnits = 0;
39 39
 
40 40
                 foreach ($product->getVariants() as $productVariant) {
Please login to merge, or discard this patch.
src/PropertyBuilder/AttributeBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $this->buildProperty(
40 40
             $event,
41 41
             ProductInterface::class,
42
-            function (ProductInterface $product, Document $document): void {
42
+            function(ProductInterface $product, Document $document): void {
43 43
                 $this->resolveProductAttributes($product, $document);
44 44
             }
45 45
         );
Please login to merge, or discard this patch.