@@ -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 |
@@ -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\Ui\Admin; |
15 | 15 | |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | */ |
120 | 120 | public function iChangeRatioTo($ratio) |
121 | 121 | { |
122 | - $this->updatePage->changeRatio((float)$ratio); |
|
122 | + $this->updatePage->changeRatio((float) $ratio); |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | /** |
@@ -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\Ui\Admin; |
15 | 15 | |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | */ |
159 | 159 | public function iSetItsPriceTo($price = null, $channelName = null) |
160 | 160 | { |
161 | - $this->createPage->specifyPrice($price, (null === $channelName) ? $this->sharedStorage->get('channel') :$channelName); |
|
161 | + $this->createPage->specifyPrice($price, (null === $channelName) ? $this->sharedStorage->get('channel') : $channelName); |
|
162 | 162 | } |
163 | 163 | |
164 | 164 | /** |
@@ -521,7 +521,7 @@ discard block |
||
521 | 521 | */ |
522 | 522 | public function theVariantWithCodeShouldNotHaveShippingRequired(ProductVariantInterface $productVariant) |
523 | 523 | { |
524 | - $this->updatePage->open(['productId' => $productVariant->getProduct()->getId(),'id' => $productVariant->getId()]); |
|
524 | + $this->updatePage->open(['productId' => $productVariant->getProduct()->getId(), 'id' => $productVariant->getId()]); |
|
525 | 525 | |
526 | 526 | Assert::false($this->updatePage->isShippingRequired()); |
527 | 527 | } |