@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | For the full copyright and license information, please view the LICENSE |
20 | 20 | file that was distributed with this source code. |
21 | -EOF; |
|
21 | +eof; |
|
22 | 22 | |
23 | 23 | HeaderCommentFixer::setHeader($header); |
24 | 24 |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | "name": "Clothing", |
53 | 53 | "description": "All items classified as clothing." |
54 | 54 | } |
55 | -EOT; |
|
55 | +eot; |
|
56 | 56 | |
57 | 57 | $this->client->request('POST', '/api/tax-categories/', [], [], [ |
58 | 58 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | "name": "Clothing & Accessories", |
205 | 205 | "description": "All items classified as clothing with accessories." |
206 | 206 | } |
207 | -EOT; |
|
207 | +eot; |
|
208 | 208 | |
209 | 209 | $this->client->request('PUT', '/api/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [ |
210 | 210 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | { |
247 | 247 | "name": "Clothing & Accessories" |
248 | 248 | } |
249 | -EOT; |
|
249 | +eot; |
|
250 | 250 | |
251 | 251 | $this->client->request('PATCH', '/api/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [ |
252 | 252 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | "name": "Regular", |
52 | 52 | "description": "Regular weight items" |
53 | 53 | } |
54 | -EOT; |
|
54 | +eot; |
|
55 | 55 | |
56 | 56 | $this->client->request('POST', '/api/shipping-categories/', [], [], [ |
57 | 57 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | "name": "Light", |
165 | 165 | "description": "Light weight items" |
166 | 166 | } |
167 | -EOT; |
|
167 | +eot; |
|
168 | 168 | |
169 | 169 | $this->client->request('PUT', '/api/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [ |
170 | 170 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | "name": "Light", |
208 | 208 | "description": "Light weight items" |
209 | 209 | } |
210 | -EOT; |
|
210 | +eot; |
|
211 | 211 | |
212 | 212 | $this->client->request('PATCH', '/api/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [ |
213 | 213 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | "enabled": "true" |
74 | 74 | } |
75 | 75 | } |
76 | -EOT; |
|
76 | +eot; |
|
77 | 77 | |
78 | 78 | $this->client->request('POST', '/api/customers/', [], [], static::$authorizedHeaderWithContentType, $data); |
79 | 79 | |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | "email": "[email protected]", |
97 | 97 | "gender": "m" |
98 | 98 | } |
99 | -EOT; |
|
99 | +eot; |
|
100 | 100 | |
101 | 101 | $this->client->request('POST', '/api/customers/', [], [], static::$authorizedHeaderWithContentType, $data); |
102 | 102 | |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | "plainPassword" : "testPassword" |
123 | 123 | } |
124 | 124 | } |
125 | -EOT; |
|
125 | +eot; |
|
126 | 126 | |
127 | 127 | $this->client->request('POST', '/api/customers/', [], [], static::$authorizedHeaderWithContentType, $data); |
128 | 128 | |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | "email": "[email protected]", |
262 | 262 | "gender": "m" |
263 | 263 | } |
264 | -EOT; |
|
264 | +eot; |
|
265 | 265 | |
266 | 266 | $this->client->request('PUT', '/api/customers/'.$customers['customer_Oliver']->getId(), [], [], static::$authorizedHeaderWithContentType, $data); |
267 | 267 | |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | "firstName": "John", |
302 | 302 | "lastName": "Doe" |
303 | 303 | } |
304 | -EOT; |
|
304 | +eot; |
|
305 | 305 | |
306 | 306 | $this->client->request('PATCH', '/api/customers/'.$customers['customer_Oliver']->getId(), [], [], static::$authorizedHeaderWithContentType, $data); |
307 | 307 |
@@ -88,7 +88,7 @@ |
||
88 | 88 | "code": "es", |
89 | 89 | "enabled": true |
90 | 90 | } |
91 | -EOT; |
|
91 | +eot; |
|
92 | 92 | |
93 | 93 | $this->client->request('POST', '/api/locales/', [], [], static::$authorizedHeaderWithContentType, $data); |
94 | 94 |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | "exchangeRate": 1, |
72 | 72 | "enabled": true |
73 | 73 | } |
74 | -EOT; |
|
74 | +eot; |
|
75 | 75 | |
76 | 76 | $this->client->request('POST', '/api/currencies/', [], [], static::$authorizedHeaderWithContentType, $data); |
77 | 77 | |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | "exchangeRate": 1.0000, |
171 | 171 | "enabled": false |
172 | 172 | } |
173 | -EOT; |
|
173 | +eot; |
|
174 | 174 | |
175 | 175 | $this->client->request('PUT', '/api/currencies/'.$currencies['currency_2']->getId(), [], [], static::$authorizedHeaderWithContentType, $data); |
176 | 176 | |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | "exchangeRate": 1, |
205 | 205 | "enabled": false |
206 | 206 | } |
207 | -EOT; |
|
207 | +eot; |
|
208 | 208 | |
209 | 209 | $this->client->request('PATCH', '/api/currencies/'.$currencies['currency_2']->getId(), [], [], static::$authorizedHeaderWithContentType, $data); |
210 | 210 |
@@ -62,7 +62,7 @@ |
||
62 | 62 | { |
63 | 63 | "code": "BE" |
64 | 64 | } |
65 | -EOT; |
|
65 | +eot; |
|
66 | 66 | |
67 | 67 | $this->client->request('POST', '/api/countries/', [], [], static::$authorizedHeaderWithContentType, $data); |
68 | 68 |
@@ -491,7 +491,7 @@ |
||
491 | 491 | <xsd:import namespace="http://www.w3.org/XML/1998/namespace"/> |
492 | 492 | $imports |
493 | 493 | </xsd:schema> |
494 | -EOF |
|
494 | +eof |
|
495 | 495 | ; |
496 | 496 | |
497 | 497 | $valid = @$dom->schemaValidateSource($source); |
@@ -32,8 +32,8 @@ |
||
32 | 32 | 'required' => false, |
33 | 33 | 'empty_value' => 'sylius.ui.all', |
34 | 34 | 'choices' => [ |
35 | - BooleanFilter::TRUE => 'sylius.ui.yes', |
|
36 | - BooleanFilter::FALSE => 'sylius.ui.no', |
|
35 | + BooleanFilter::true => 'sylius.ui.yes', |
|
36 | + BooleanFilter::false => 'sylius.ui.no', |
|
37 | 37 | ], |
38 | 38 | ]) |
39 | 39 | ->setOptional([ |