@@ -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 | |
@@ -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 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | "username": "[email protected]", |
| 36 | 36 | "password": "sylius" |
| 37 | 37 | } |
| 38 | -EOT; |
|
| 38 | +eot; |
|
| 39 | 39 | |
| 40 | 40 | $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
| 41 | 41 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | "grant_type": "refresh_token", |
| 59 | 59 | "refresh_token": "SampleRefreshTokenODllODY4ZTQyOThlNWIyMjA1ZDhmZjE1ZDYyMGMwOTUxOWM2NGFmNGRjNjQ2NDBhMDVlNGZjMmQ0YzgyNDM2Ng" |
| 60 | 60 | } |
| 61 | -EOT; |
|
| 61 | +eot; |
|
| 62 | 62 | |
| 63 | 63 | $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
| 64 | 64 | |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | { |
| 79 | 79 | "code": "USD" |
| 80 | 80 | } |
| 81 | -EOT; |
|
| 81 | +eot; |
|
| 82 | 82 | |
| 83 | 83 | $this->client->request('POST', '/api/v1/currencies/', [], [], static::$authorizedHeaderWithContentType, $data); |
| 84 | 84 | |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | ->setDescription('Checks if all Sylius requirements are satisfied.') |
| 28 | 28 | ->setHelp(<<<EOT |
| 29 | 29 | The <info>%command.name%</info> command checks system requirements. |
| 30 | -EOT |
|
| 30 | +eot |
|
| 31 | 31 | ) |
| 32 | 32 | ; |
| 33 | 33 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | ->setDescription('Installs all Sylius assets.') |
| 27 | 27 | ->setHelp(<<<EOT |
| 28 | 28 | The <info>%command.name%</info> command downloads and installs all Sylius media assets. |
| 29 | -EOT |
|
| 29 | +eot |
|
| 30 | 30 | ) |
| 31 | 31 | ; |
| 32 | 32 | } |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | ->setDescription('Sylius configuration setup.') |
| 47 | 47 | ->setHelp(<<<EOT |
| 48 | 48 | The <info>%command.name%</info> command allows user to configure basic Sylius data. |
| 49 | -EOT |
|
| 49 | +eot |
|
| 50 | 50 | ) |
| 51 | 51 | ; |
| 52 | 52 | } |
@@ -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 | |