@@ -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 spec\Sylius\Behat; |
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\Domain; |
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\Domain; |
15 | 15 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public function theyAbandonedTheirCart(OrderInterface $cart, $amount, $time) |
53 | 53 | { |
54 | - $cart->setUpdatedAt(new \DateTime('-'.$amount.' '.$time)); |
|
54 | + $cart->setUpdatedAt(new \DateTime('-' . $amount . ' ' . $time)); |
|
55 | 55 | $this->orderManager->flush(); |
56 | 56 | } |
57 | 57 |
@@ -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\Domain; |
15 | 15 | |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | */ |
170 | 170 | public function thisOrderHasNotBeenPaidForDays(OrderInterface $order, $amount, $time) |
171 | 171 | { |
172 | - $order->setCheckoutCompletedAt(new \DateTime('-'.$amount.' '.$time)); |
|
172 | + $order->setCheckoutCompletedAt(new \DateTime('-' . $amount . ' ' . $time)); |
|
173 | 173 | $this->orderManager->flush(); |
174 | 174 | |
175 | 175 | $this->unpaidOrdersStateUpdater->cancel(); |
@@ -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\Hook; |
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\Transform; |
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\Api\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\Setup; |
15 | 15 | |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | public function theStoreHasAndShippingCategory($firstShippingCategoryName, $secondShippingCategoryName = null) |
63 | 63 | { |
64 | 64 | $this->createShippingCategory($firstShippingCategoryName); |
65 | - (null === $secondShippingCategoryName)? : $this->createShippingCategory($secondShippingCategoryName); |
|
65 | + (null === $secondShippingCategoryName) ?: $this->createShippingCategory($secondShippingCategoryName); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | private function createShippingCategory($shippingCategoryName, $shippingCategoryCode = null) |
81 | 81 | { |
82 | 82 | /** @var ShippingCategoryInterface $shippingCategory */ |
83 | - $shippingCategory = $this->shippingCategoryFactory->createNew(); |
|
83 | + $shippingCategory = $this->shippingCategoryFactory->createNew(); |
|
84 | 84 | $shippingCategory->setName($shippingCategoryName); |
85 | 85 | $shippingCategory->setCode($shippingCategoryCode); |
86 | 86 |
@@ -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 | |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | |
139 | 139 | /** @var ImageInterface $taxonImage */ |
140 | 140 | $taxonImage = $this->taxonImageFactory->createNew(); |
141 | - $taxonImage->setFile(new UploadedFile($filesPath.$imagePath, basename($imagePath))); |
|
141 | + $taxonImage->setFile(new UploadedFile($filesPath . $imagePath, basename($imagePath))); |
|
142 | 142 | $taxonImage->setType($imageType); |
143 | 143 | $this->imageUploader->upload($taxonImage); |
144 | 144 |