@@ -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 |
@@ -46,7 +46,7 @@ |
||
46 | 46 | ->setHelp(<<<EOT |
47 | 47 | The <info>%command.name%</info>command creates a new client. |
48 | 48 | <info>php %command.full_name% [--redirect-uri=...] [--grant-type=...] name</info> |
49 | -EOT |
|
49 | +eot |
|
50 | 50 | ); |
51 | 51 | } |
52 | 52 |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | }, |
35 | 35 | "author": "Christie Golden" |
36 | 36 | } |
37 | -EOT; |
|
37 | +eot; |
|
38 | 38 | |
39 | 39 | $this->client->request('POST', '/books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
40 | 40 | $response = $this->client->getResponse(); |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | }, |
62 | 62 | "author": "Christie Golden" |
63 | 63 | } |
64 | -EOT; |
|
64 | +eot; |
|
65 | 65 | |
66 | 66 | $this->client->request('PUT', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
67 | 67 | $response = $this->client->getResponse(); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | { |
81 | 81 | "author": "Christie Golden" |
82 | 82 | } |
83 | -EOT; |
|
83 | +eot; |
|
84 | 84 | |
85 | 85 | $this->client->request('PATCH', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data); |
86 | 86 | $response = $this->client->getResponse(); |
@@ -91,6 +91,6 @@ |
||
91 | 91 | |
92 | 92 | <info>php %command.full_name% web --symlink --relative</info> |
93 | 93 | |
94 | -EOT; |
|
94 | +eot; |
|
95 | 95 | } |
96 | 96 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | | sylius.two | |
57 | 57 | +------------+ |
58 | 58 | |
59 | -EOT |
|
59 | +eot |
|
60 | 60 | , $display); |
61 | 61 | } |
62 | 62 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | | whatever.something.elephants | camels | |
83 | 83 | +------------------------------+-----------------+ |
84 | 84 | |
85 | -EOT |
|
85 | +eot |
|
86 | 86 | , $display); |
87 | 87 | } |
88 | 88 |
@@ -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 |