@@ -9,7 +9,7 @@ |
||
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 |
@@ -9,7 +9,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -9,7 +9,7 @@ discard block |
||
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 |
||
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 |
@@ -9,7 +9,7 @@ |
||
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 |
@@ -9,7 +9,7 @@ |
||
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\Shop; |
15 | 15 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\Behat\Context\Ui\Shop\Checkout; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\Behat\Context\Ui\Shop\Checkout; |
6 | 6 | |
@@ -198,6 +198,6 @@ discard block |
||
198 | 198 | */ |
199 | 199 | public function iShouldBeCheckingOutAs($email) |
200 | 200 | { |
201 | - Assert::same($this->selectShippingPage->getPurchaserEmail(), 'Checking out as '.$email.'.'); |
|
201 | + Assert::same($this->selectShippingPage->getPurchaserEmail(), 'Checking out as ' . $email . '.'); |
|
202 | 202 | } |
203 | 203 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\Behat\Context\Ui\Shop\Checkout; |
6 | 6 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | */ |
109 | 109 | public function iShouldSeeThisShippingAddressAsShippingAddress($fullName) |
110 | 110 | { |
111 | - $address = $this->sharedStorage->get('shipping_address_'.StringInflector::nameToLowercaseCode($fullName)); |
|
111 | + $address = $this->sharedStorage->get('shipping_address_' . StringInflector::nameToLowercaseCode($fullName)); |
|
112 | 112 | |
113 | 113 | Assert::true($this->completePage->hasShippingAddress($address)); |
114 | 114 | } |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | */ |
119 | 119 | public function iShouldSeeThisBillingAddressAsBillingAddress($fullName) |
120 | 120 | { |
121 | - $address = $this->sharedStorage->get('billing_address_'.StringInflector::nameToLowercaseCode($fullName)); |
|
121 | + $address = $this->sharedStorage->get('billing_address_' . StringInflector::nameToLowercaseCode($fullName)); |
|
122 | 122 | |
123 | 123 | Assert::true($this->completePage->hasBillingAddress($address)); |
124 | 124 | } |
@@ -9,7 +9,7 @@ |
||
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\Admin; |
15 | 15 |