Passed
Pull Request — master (#5)
by
unknown
04:04
created
src/PropertyBuilder/OptionBuilder.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
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     public function consumeEvent(TransformEvent $event): void
47 47
     {
48 48
         $this->buildProperty($event, ProductInterface::class,
49
-            function (ProductInterface $product, Document $document): void {
49
+            function(ProductInterface $product, Document $document): void {
50 50
                 $this->resolveProductOptions($product, $document);
51 51
             });
52 52
     }
Please login to merge, or discard this patch.
src/PropertyBuilder/SoldUnitsPropertyBuilder.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
                 $soldUnits = 0;
50 50
 
51 51
                 foreach ($product->getVariants() as $productVariant) {
Please login to merge, or discard this patch.
src/PropertyBuilder/ChannelPricingBuilder.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
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public function consumeEvent(TransformEvent $event): void
40 40
     {
41 41
         $this->buildProperty($event, ProductInterface::class,
42
-            function (ProductInterface $product, Document $document): void {
42
+            function(ProductInterface $product, Document $document): void {
43 43
                 /** @var ProductVariantInterface $productVariant */
44 44
                 $productVariant = $product->getVariants()->first();
45 45
 
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductCreatedAtPropertyBuilder.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
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public function consumeEvent(TransformEvent $event): void
38 38
     {
39 39
         $this->buildProperty($event, ProductInterface::class,
40
-            function (ProductInterface $product, Document $document): void {
40
+            function(ProductInterface $product, Document $document): void {
41 41
                 $createdAt = (int) $product->getCreatedAt()->format('U');
42 42
 
43 43
                 $document->set($this->createdAtProperty, $createdAt);
Please login to merge, or discard this patch.
src/PropertyBuilder/AttributeBuilder.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
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     public function consumeEvent(TransformEvent $event): void
49 49
     {
50 50
         $this->buildProperty($event, ProductInterface::class,
51
-            function (ProductInterface $product, Document $document): void {
51
+            function(ProductInterface $product, Document $document): void {
52 52
                 $this->resolveProductAttributes($product, $document);
53 53
             });
54 54
     }
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
             $product = $productAttributeValue->getProduct();
62 62
 
63 63
             if (!$product->isEnabled()) {
Please login to merge, or discard this patch.
spec/Exception/TaxonNotFoundExceptionSpec.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 spec\BitBag\SyliusElasticsearchPlugin\Exception;
14 14
 
Please login to merge, or discard this patch.
spec/PropertyBuilder/OptionBuilderSpec.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 spec\BitBag\SyliusElasticsearchPlugin\PropertyBuilder;
14 14
 
Please login to merge, or discard this patch.
spec/PropertyBuilder/Mapper/ProductTaxonsMapperSpec.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 spec\BitBag\SyliusElasticsearchPlugin\PropertyBuilder\Mapper;
14 14
 
Please login to merge, or discard this patch.