@@ -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\Page\Admin\Order; |
| 15 | 15 | |
@@ -491,7 +491,7 @@ discard block |
||
| 491 | 491 | (stripos($elementText, $customerName) !== false) && |
| 492 | 492 | (stripos($elementText, $street) !== false) && |
| 493 | 493 | (stripos($elementText, $city) !== false) && |
| 494 | - (stripos($elementText, $countryName.' '.$postcode) !== false) |
|
| 494 | + (stripos($elementText, $countryName . ' ' . $postcode) !== false) |
|
| 495 | 495 | ; |
| 496 | 496 | } |
| 497 | 497 | |
@@ -508,7 +508,7 @@ discard block |
||
| 508 | 508 | ['item' => $itemName] |
| 509 | 509 | ); |
| 510 | 510 | |
| 511 | - return $rows[0]->find('css', '.'.$property)->getText(); |
|
| 511 | + return $rows[0]->find('css', '.' . $property)->getText(); |
|
| 512 | 512 | } |
| 513 | 513 | |
| 514 | 514 | /** |
@@ -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\Page\Admin\Order; |
| 15 | 15 | |
@@ -47,11 +47,11 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | private function specifyAddress(AddressInterface $address, $addressType) |
| 49 | 49 | { |
| 50 | - $this->specifyElementValue($addressType.'_first_name', $address->getFirstName()); |
|
| 51 | - $this->specifyElementValue($addressType.'_last_name', $address->getLastName()); |
|
| 52 | - $this->specifyElementValue($addressType.'_street', $address->getStreet()); |
|
| 53 | - $this->specifyElementValue($addressType.'_city', $address->getCity()); |
|
| 54 | - $this->specifyElementValue($addressType.'_postcode', $address->getPostcode()); |
|
| 50 | + $this->specifyElementValue($addressType . '_first_name', $address->getFirstName()); |
|
| 51 | + $this->specifyElementValue($addressType . '_last_name', $address->getLastName()); |
|
| 52 | + $this->specifyElementValue($addressType . '_street', $address->getStreet()); |
|
| 53 | + $this->specifyElementValue($addressType . '_city', $address->getCity()); |
|
| 54 | + $this->specifyElementValue($addressType . '_postcode', $address->getPostcode()); |
|
| 55 | 55 | |
| 56 | 56 | $this->chooseCountry($address->getCountryCode(), $addressType); |
| 57 | 57 | } |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | */ |
| 117 | 117 | private function chooseCountry($country, $addressType) |
| 118 | 118 | { |
| 119 | - $this->getElement($addressType.'_country')->selectOption((null !== $country) ? $country : 'Select'); |
|
| 119 | + $this->getElement($addressType . '_country')->selectOption((null !== $country) ? $country : 'Select'); |
|
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | /** |
@@ -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\Page\Admin\TaxCategory; |
| 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\Page\Admin\Promotion; |
| 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\Page\Admin\Taxon; |
| 15 | 15 | |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | |
| 122 | 122 | $imageForm = $this->getLastImageElement(); |
| 123 | 123 | $imageForm->fillField('Type', $type); |
| 124 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
| 124 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | /** |
@@ -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\Page\Admin\Taxon; |
| 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\Page\Admin\Country; |
| 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\Page\Admin\Country; |
| 15 | 15 | |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | { |
| 44 | 44 | $provinces = $this->getElement('provinces'); |
| 45 | 45 | |
| 46 | - return $provinces->has('css', '[value = "'.$provinceName.'"]'); |
|
| 46 | + return $provinces->has('css', '[value = "' . $provinceName . '"]'); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | { |
| 54 | 54 | $provinces = $this->getElement('provinces'); |
| 55 | 55 | |
| 56 | - return $provinces->has('css', '[value = "'.$provinceCode.'"]'); |
|
| 56 | + return $provinces->has('css', '[value = "' . $provinceCode . '"]'); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | if ($this->isThereProvince($provinceName)) { |
| 121 | 121 | $provinces = $this->getElement('provinces'); |
| 122 | 122 | |
| 123 | - $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="'.$provinceName.'"]')->getParent(); |
|
| 123 | + $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="' . $provinceName . '"]')->getParent(); |
|
| 124 | 124 | $item->fillField('Name', ''); |
| 125 | 125 | } |
| 126 | 126 | } |
@@ -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\Page\Admin\ProductOption; |
| 15 | 15 | |