@@ -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\Shop\Account\Order; |
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\Shop\Account\Order; |
15 | 15 | |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | return |
200 | 200 | (stripos($elementText, $customerName) !== false) && |
201 | 201 | (stripos($elementText, $street) !== false) && |
202 | - (stripos($elementText, $city.', '.$postcode) !== false) && |
|
202 | + (stripos($elementText, $city . ', ' . $postcode) !== false) && |
|
203 | 203 | (stripos($elementText, $countryName) !== false) |
204 | 204 | ; |
205 | 205 | } |
@@ -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\Shop\Account\AddressBook; |
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\Shop\Cart; |
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\ProductReview; |
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\CustomerGroup; |
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\ProductAttribute; |
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\Product; |
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\Product; |
15 | 15 | |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | $imageForm->fillField('Type', $type); |
214 | 214 | } |
215 | 215 | |
216 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
216 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
217 | 217 | } |
218 | 218 | |
219 | 219 | /** |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | $filesPath = $this->getParameter('files_path'); |
225 | 225 | |
226 | 226 | $imageForm = $this->getImageElementByType($type); |
227 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
227 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
228 | 228 | } |
229 | 229 | |
230 | 230 | /** |
@@ -500,7 +500,7 @@ discard block |
||
500 | 500 | private function getImageElementByType($type) |
501 | 501 | { |
502 | 502 | $images = $this->getElement('images'); |
503 | - $typeInput = $images->find('css', 'input[value="'.$type.'"]'); |
|
503 | + $typeInput = $images->find('css', 'input[value="' . $type . '"]'); |
|
504 | 504 | |
505 | 505 | if (null === $typeInput) { |
506 | 506 | return null; |