Passed
Push — master ( b5d715...7ab05b )
by Mikołaj
03:54
created
src/Formatter/StringFormatterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * an email on [email protected].
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace BitBag\SyliusElasticsearchPlugin\Formatter;
14 14
 
Please login to merge, or discard this patch.
src/BitBagSyliusElasticsearchPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace BitBag\SyliusElasticsearchPlugin;
6 6
 
Please login to merge, or discard this patch.
src/EntityRepository/ProductVariantRepositoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * an email on [email protected].
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace BitBag\SyliusElasticsearchPlugin\EntityRepository;
14 14
 
Please login to merge, or discard this patch.
src/PropertyBuilder/Mapper/ProductTaxonsMapperInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * an email on [email protected].
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace BitBag\SyliusElasticsearchPlugin\PropertyBuilder\Mapper;
14 14
 
Please login to merge, or discard this patch.
src/EntityRepository/ProductVariantRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * an email on [email protected].
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace BitBag\SyliusElasticsearchPlugin\EntityRepository;
14 14
 
Please login to merge, or discard this patch.
src/PropertyBuilder/Mapper/ProductTaxonsMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * an email on [email protected].
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace BitBag\SyliusElasticsearchPlugin\PropertyBuilder\Mapper;
14 14
 
Please login to merge, or discard this patch.
src/Form/Type/ChoiceMapper/ProductAttributesMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
  * an email on [email protected].
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace BitBag\SyliusElasticsearchPlugin\Form\Type\ChoiceMapper;
14 14
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $attributeValues = $this->productAttributeValueRepository->findBy(['attribute' => $productAttribute]);
59 59
         $choices = [];
60
-        array_walk($attributeValues, function (ProductAttributeValueInterface $productAttributeValue) use (&$choices): void {
60
+        array_walk($attributeValues, function(ProductAttributeValueInterface $productAttributeValue) use (&$choices): void {
61 61
             $value = $productAttributeValue->getValue();
62 62
             $configuration = $productAttributeValue->getAttribute()->getConfiguration();
63 63
             if (is_array($value)
Please login to merge, or discard this patch.
src/Form/Type/ChoiceMapper/ProductOptionsMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
  * an email on [email protected].
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace BitBag\SyliusElasticsearchPlugin\Form\Type\ChoiceMapper;
14 14
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $productOptionValues = $productOption->getValues()->toArray();
40 40
         $choices = [];
41 41
 
42
-        array_walk($productOptionValues, function (ProductOptionValueInterface $productOptionValue) use (&$choices): void {
42
+        array_walk($productOptionValues, function(ProductOptionValueInterface $productOptionValue) use (&$choices): void {
43 43
             $value = $productOptionValue->getValue();
44 44
             $choices[$value] = $this->stringFormatter->formatToLowercaseWithoutSpaces($value);
45 45
         });
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductTaxonsBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
  * an email on [email protected].
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace BitBag\SyliusElasticsearchPlugin\PropertyBuilder;
14 14
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function consumeEvent(TransformEvent $event): void
46 46
     {
47 47
         $this->buildProperty($event, ProductInterface::class,
48
-            function (ProductInterface $product, Document $document): void {
48
+            function(ProductInterface $product, Document $document): void {
49 49
                 $taxons = $this->productTaxonsMapper->mapToUniqueCodes($product);
50 50
 
51 51
                 $document->set($this->taxonsProperty, $taxons);
Please login to merge, or discard this patch.