@@ -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\Tests\Controller; |
15 | 15 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
74 | 74 | $locales = $this->loadFixturesFromFile('resources/locales.yml'); |
75 | 75 | |
76 | - $this->client->request('GET', '/api/v1/locales/'.$locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
76 | + $this->client->request('GET', '/api/v1/locales/' . $locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
77 | 77 | |
78 | 78 | $response = $this->client->getResponse(); |
79 | 79 | $this->assertResponse($response, 'locale/show_response', Response::HTTP_OK); |
@@ -158,12 +158,12 @@ discard block |
||
158 | 158 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
159 | 159 | $locales = $this->loadFixturesFromFile('resources/locales.yml'); |
160 | 160 | |
161 | - $this->client->request('DELETE', '/api/v1/locales/'.$locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithContentType, []); |
|
161 | + $this->client->request('DELETE', '/api/v1/locales/' . $locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithContentType, []); |
|
162 | 162 | |
163 | 163 | $response = $this->client->getResponse(); |
164 | 164 | $this->assertResponseCode($response, Response::HTTP_NO_CONTENT); |
165 | 165 | |
166 | - $this->client->request('GET', '/api/v1/locales/'.$locales['locale_en_US']->getId(), [], [], static::$authorizedHeaderWithAccept); |
|
166 | + $this->client->request('GET', '/api/v1/locales/' . $locales['locale_en_US']->getId(), [], [], static::$authorizedHeaderWithAccept); |
|
167 | 167 | |
168 | 168 | $response = $this->client->getResponse(); |
169 | 169 | $this->assertResponse($response, 'error/not_found_response', Response::HTTP_NOT_FOUND); |
@@ -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\Tests\Controller; |
15 | 15 | |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | |
110 | 110 | $this->addItemToCart($cartId); |
111 | 111 | |
112 | - $this->client->request('PATCH', '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}'); |
|
112 | + $this->client->request('PATCH', '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}'); |
|
113 | 113 | |
114 | 114 | $this->addressOrder($cartId); |
115 | 115 | $this->selectOrderShippingMethod($cartId); |
@@ -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\Tests\Controller; |
15 | 15 | |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
49 | 49 | $countryData = $this->loadFixturesFromFile('resources/countries.yml'); |
50 | 50 | |
51 | - $this->client->request('GET', '/api/v1/countries/'.$countryData['country_BE']->getCode().'/provinces/'.$countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType); |
|
51 | + $this->client->request('GET', '/api/v1/countries/' . $countryData['country_BE']->getCode() . '/provinces/' . $countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType); |
|
52 | 52 | |
53 | 53 | $response = $this->client->getResponse(); |
54 | 54 | $this->assertResponse($response, 'province/show_response', Response::HTTP_OK); |
@@ -62,12 +62,12 @@ discard block |
||
62 | 62 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
63 | 63 | $countryData = $this->loadFixturesFromFile('resources/countries.yml'); |
64 | 64 | |
65 | - $this->client->request('DELETE', '/api/v1/countries/'.$countryData['country_BE']->getCode().'/provinces/'.$countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType); |
|
65 | + $this->client->request('DELETE', '/api/v1/countries/' . $countryData['country_BE']->getCode() . '/provinces/' . $countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType); |
|
66 | 66 | |
67 | 67 | $response = $this->client->getResponse(); |
68 | 68 | $this->assertResponseCode($response, Response::HTTP_NO_CONTENT); |
69 | 69 | |
70 | - $this->client->request('GET', '/api/v1/countries/'.$countryData['country_BE']->getCode().'/provinces/'.$countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType); |
|
70 | + $this->client->request('GET', '/api/v1/countries/' . $countryData['country_BE']->getCode() . '/provinces/' . $countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType); |
|
71 | 71 | |
72 | 72 | $response = $this->client->getResponse(); |
73 | 73 | $this->assertResponse($response, 'error/not_found_response', Response::HTTP_NOT_FOUND); |
@@ -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\Tests\Controller; |
15 | 15 | |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | { |
185 | 185 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
186 | 186 | $taxCategories = $this->loadFixturesFromFile('resources/tax_categories.yml'); |
187 | - $taxCategory = $taxCategories['tax_category_1']; |
|
187 | + $taxCategory = $taxCategories['tax_category_1']; |
|
188 | 188 | |
189 | 189 | $this->client->request('GET', $this->getTaxCategoryUrl($taxCategory), [], [], [ |
190 | 190 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |
@@ -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 | use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache; |
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 | use Sylius\Bundle\CoreBundle\Application\Kernel; |
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\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\Shop\Product; |
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\Order; |
15 | 15 |