Completed
Push — 1.0-coding-standard ( 22328c )
by Kamil
98:35 queued 69:17
created
src/Sylius/Behat/Context/Hook/TestThemeContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Hook;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Transform/LexicalContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Transform;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Admin/ManagingTaxonsContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Api\Admin;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ShippingCategoryContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Setup;
15 15
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     public function theStoreHasAndShippingCategory($firstShippingCategoryName, $secondShippingCategoryName = null)
63 63
     {
64 64
         $this->createShippingCategory($firstShippingCategoryName);
65
-        (null === $secondShippingCategoryName)? : $this->createShippingCategory($secondShippingCategoryName);
65
+        (null === $secondShippingCategoryName) ?: $this->createShippingCategory($secondShippingCategoryName);
66 66
     }
67 67
 
68 68
     /**
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     private function createShippingCategory($shippingCategoryName, $shippingCategoryCode = null)
81 81
     {
82 82
         /** @var ShippingCategoryInterface $shippingCategory */
83
-        $shippingCategory =  $this->shippingCategoryFactory->createNew();
83
+        $shippingCategory = $this->shippingCategoryFactory->createNew();
84 84
         $shippingCategory->setName($shippingCategoryName);
85 85
         $shippingCategory->setCode($shippingCategoryCode);
86 86
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/TaxonomyContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Setup;
15 15
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 
139 139
         /** @var ImageInterface $taxonImage */
140 140
         $taxonImage = $this->taxonImageFactory->createNew();
141
-        $taxonImage->setFile(new UploadedFile($filesPath.$imagePath, basename($imagePath)));
141
+        $taxonImage->setFile(new UploadedFile($filesPath . $imagePath, basename($imagePath)));
142 142
         $taxonImage->setType($imageType);
143 143
         $this->imageUploader->upload($taxonImage);
144 144
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductAssociationContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Setup;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductReviewContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Setup;
15 15
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     ) {
89 89
         $review = $this->createProductReview($product, $title, $rating, $title, $customer);
90 90
         if (null !== $daysSinceCreation) {
91
-            $review->setCreatedAt(new \DateTime('-'.$daysSinceCreation.' days'));
91
+            $review->setCreatedAt(new \DateTime('-' . $daysSinceCreation . ' days'));
92 92
         }
93 93
 
94 94
         $this->productReviewRepository->add($review);
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     {
132 132
         $customer = $this->sharedStorage->get('customer');
133 133
         foreach ($rates as $key => $rate) {
134
-            $review = $this->createProductReview($product, 'Title '.$key, $rate, 'Comment '.$key, $customer);
134
+            $review = $this->createProductReview($product, 'Title ' . $key, $rate, 'Comment ' . $key, $customer);
135 135
             $this->productReviewRepository->add($review);
136 136
         }
137 137
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Setup;
15 15
 
@@ -750,7 +750,7 @@  discard block
 block discarded – undo
750 750
 
751 751
         /** @var ImageInterface $productImage */
752 752
         $productImage = $this->productImageFactory->createNew();
753
-        $productImage->setFile(new UploadedFile($filesPath.$imagePath, basename($imagePath)));
753
+        $productImage->setFile(new UploadedFile($filesPath . $imagePath, basename($imagePath)));
754 754
         $productImage->setType($imageType);
755 755
         $this->imageUploader->upload($productImage);
756 756
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/PaypalContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Ui;
15 15
 
Please login to merge, or discard this patch.