@@ -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 | |
@@ -301,7 +301,7 @@ discard block |
||
| 301 | 301 | public function iShouldBeNotifiedThatIHaveToSpecifyPaypal($element) |
| 302 | 302 | { |
| 303 | 303 | Assert::same( |
| 304 | - $this->createPage->getValidationMessage('paypal_'.$element), |
|
| 304 | + $this->createPage->getValidationMessage('paypal_' . $element), |
|
| 305 | 305 | sprintf('Please enter paypal %s.', $element) |
| 306 | 306 | ); |
| 307 | 307 | } |
@@ -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\Cli; |
| 15 | 15 | |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | { |
| 167 | 167 | $this->questionHelper = $this->command->getHelper('question'); |
| 168 | 168 | $inputString = implode(PHP_EOL, $this->inputChoices); |
| 169 | - $this->questionHelper->setInputStream($this->getInputStream($inputString.PHP_EOL)); |
|
| 169 | + $this->questionHelper->setInputStream($this->getInputStream($inputString . PHP_EOL)); |
|
| 170 | 170 | |
| 171 | 171 | try { |
| 172 | 172 | $this->tester->execute(['command' => $name]); |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | private function iExecuteCommandAndConfirm($name) |
| 181 | 181 | { |
| 182 | 182 | $this->questionHelper = $this->command->getHelper('question'); |
| 183 | - $inputString = 'y'.PHP_EOL; |
|
| 183 | + $inputString = 'y' . PHP_EOL; |
|
| 184 | 184 | $this->questionHelper->setInputStream($this->getInputStream($inputString)); |
| 185 | 185 | |
| 186 | 186 | try { |
@@ -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\Exception; |
| 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\Service; |
| 15 | 15 | |