@@ -38,7 +38,7 @@ |
||
| 38 | 38 | The <info>sylius:user:promote</info> command promotes a user by adding security roles |
| 39 | 39 | |
| 40 | 40 | <info>php app/console sylius:user:promote [email protected]</info> |
| 41 | -EOT |
|
| 41 | +eot |
|
| 42 | 42 | ); |
| 43 | 43 | } |
| 44 | 44 | |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | The <info>sylius:user:demote</info> command demotes a user by removing security roles |
| 39 | 39 | |
| 40 | 40 | <info>php app/console sylius:user:demote [email protected]</info> |
| 41 | -EOT |
|
| 41 | +eot |
|
| 42 | 42 | ); |
| 43 | 43 | } |
| 44 | 44 | |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | ->setDescription('Installs Sylius in your preferred environment.') |
| 56 | 56 | ->setHelp(<<<EOT |
| 57 | 57 | The <info>%command.name%</info> command installs Sylius. |
| 58 | -EOT |
|
| 58 | +eot |
|
| 59 | 59 | ) |
| 60 | 60 | ; |
| 61 | 61 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | ->setDescription('Install sample data into Sylius.') |
| 30 | 30 | ->setHelp(<<<EOT |
| 31 | 31 | The <info>%command.name%</info> command loads the sample data for Sylius. |
| 32 | -EOT |
|
| 32 | +eot |
|
| 33 | 33 | ) |
| 34 | 34 | ; |
| 35 | 35 | } |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | To show the metadata for a resource, pass its alias: |
| 56 | 56 | |
| 57 | 57 | $ php %command.full_name% sylius.user |
| 58 | -EOT |
|
| 58 | +eot |
|
| 59 | 59 | ); |
| 60 | 60 | $this->addArgument('resource', InputArgument::OPTIONAL, 'Resource to debug'); |
| 61 | 61 | } |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | { |
| 103 | 103 | "code": "es_ES" |
| 104 | 104 | } |
| 105 | -EOT; |
|
| 105 | +eot; |
|
| 106 | 106 | |
| 107 | 107 | $this->client->request('POST', '/api/v1/locales/', [], [], static::$authorizedHeaderWithContentType, $data); |
| 108 | 108 | |
@@ -205,7 +205,7 @@ |
||
| 205 | 205 | { |
| 206 | 206 | "tracking": "BANANAS" |
| 207 | 207 | } |
| 208 | -EOT; |
|
| 208 | +eot; |
|
| 209 | 209 | |
| 210 | 210 | $this->client->request('PUT', $this->getShipOrderShipmentUrl($orderId, $rawResponse['shipments'][0]['id']), [], [], static::$authorizedHeaderWithContentType, $data); |
| 211 | 211 | |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | "channel": "WEB", |
| 133 | 133 | "localeCode": "en_US" |
| 134 | 134 | } |
| 135 | -EOT; |
|
| 135 | +eot; |
|
| 136 | 136 | |
| 137 | 137 | $this->client->request('POST', '/api/v1/carts/', [], [], static::$authorizedHeaderWithContentType, $data); |
| 138 | 138 | |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | "variant": "MUG_SW", |
| 294 | 294 | "quantity": 1 |
| 295 | 295 | } |
| 296 | -EOT; |
|
| 296 | +eot; |
|
| 297 | 297 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 298 | 298 | |
| 299 | 299 | $response = $this->client->getResponse(); |
@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | "variant": "MUG_SW", |
| 318 | 318 | "quantity": -1 |
| 319 | 319 | } |
| 320 | -EOT; |
|
| 320 | +eot; |
|
| 321 | 321 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 322 | 322 | |
| 323 | 323 | $response = $this->client->getResponse(); |
@@ -341,7 +341,7 @@ discard block |
||
| 341 | 341 | "variant": "MUG_SW", |
| 342 | 342 | "quantity": 3 |
| 343 | 343 | } |
| 344 | -EOT; |
|
| 344 | +eot; |
|
| 345 | 345 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 346 | 346 | |
| 347 | 347 | $response = $this->client->getResponse(); |
@@ -365,7 +365,7 @@ discard block |
||
| 365 | 365 | "variant": "HARD_AVAILABLE_MUG", |
| 366 | 366 | "quantity": 1 |
| 367 | 367 | } |
| 368 | -EOT; |
|
| 368 | +eot; |
|
| 369 | 369 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 370 | 370 | |
| 371 | 371 | $response = $this->client->getResponse(); |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | "variant": "HARD_AVAILABLE_MUG", |
| 390 | 390 | "quantity": 3 |
| 391 | 391 | } |
| 392 | -EOT; |
|
| 392 | +eot; |
|
| 393 | 393 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 394 | 394 | |
| 395 | 395 | $response = $this->client->getResponse(); |
@@ -425,7 +425,7 @@ discard block |
||
| 425 | 425 | { |
| 426 | 426 | "variant": "MUG_SW" |
| 427 | 427 | } |
| 428 | -EOT; |
|
| 428 | +eot; |
|
| 429 | 429 | |
| 430 | 430 | |
| 431 | 431 | $this->client->request('PUT', $this->getCartItemUrl($cart, $cartItem), [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -452,7 +452,7 @@ discard block |
||
| 452 | 452 | { |
| 453 | 453 | "quantity": 3 |
| 454 | 454 | } |
| 455 | -EOT; |
|
| 455 | +eot; |
|
| 456 | 456 | $this->client->request('PUT', $this->getCartItemUrl($cart, $cartItem), [], [], static::$authorizedHeaderWithContentType, $data); |
| 457 | 457 | |
| 458 | 458 | $response = $this->client->getResponse(); |
@@ -482,7 +482,7 @@ discard block |
||
| 482 | 482 | { |
| 483 | 483 | "quantity": 3 |
| 484 | 484 | } |
| 485 | -EOT; |
|
| 485 | +eot; |
|
| 486 | 486 | $this->client->request('PUT', $this->getCartItemUrl($cart, $cartItem), [], [], static::$authorizedHeaderWithContentType, $data); |
| 487 | 487 | |
| 488 | 488 | $response = $this->client->getResponse(); |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | "name": "Clothing", |
| 63 | 63 | "description": "All items classified as clothing." |
| 64 | 64 | } |
| 65 | -EOT; |
|
| 65 | +eot; |
|
| 66 | 66 | |
| 67 | 67 | $this->client->request('POST', '/api/v1/tax-categories/', [], [], [ |
| 68 | 68 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | "name": "Clothing & Accessories", |
| 254 | 254 | "description": "All items classified as clothing with accessories." |
| 255 | 255 | } |
| 256 | -EOT; |
|
| 256 | +eot; |
|
| 257 | 257 | |
| 258 | 258 | $this->client->request('PUT', $this->getTaxCategoryUrl($taxCategory), [], [], [ |
| 259 | 259 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | { |
| 295 | 295 | "name": "Clothing & Accessories" |
| 296 | 296 | } |
| 297 | -EOT; |
|
| 297 | +eot; |
|
| 298 | 298 | |
| 299 | 299 | $this->client->request('PATCH', $this->getTaxCategoryUrl($taxCategory), [], [], [ |
| 300 | 300 | 'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ', |