@@ -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 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | <<<EOT |
| 50 | 50 | foo: bar |
| 51 | 51 | only: string |
| 52 | -EOT; |
|
| 52 | +eot; |
|
| 53 | 53 | |
| 54 | 54 | $this |
| 55 | 55 | ->shouldThrow(InvalidConfigurationException::class) |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | $configuration = |
| 64 | 64 | <<<EOT |
| 65 | 65 | alias: sylius.foo |
| 66 | -EOT; |
|
| 66 | +eot; |
|
| 67 | 67 | |
| 68 | 68 | $this |
| 69 | 69 | ->shouldThrow(\InvalidArgumentException::class) |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $configuration = |
| 93 | 93 | <<<EOT |
| 94 | 94 | alias: sylius.product |
| 95 | -EOT; |
|
| 95 | +eot; |
|
| 96 | 96 | |
| 97 | 97 | $showDefaults = [ |
| 98 | 98 | '_controller' => 'sylius.controller.product:showAction', |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | $configuration = |
| 165 | 165 | <<<EOT |
| 166 | 166 | alias: sylius.product_option |
| 167 | -EOT; |
|
| 167 | +eot; |
|
| 168 | 168 | |
| 169 | 169 | $showDefaults = [ |
| 170 | 170 | '_controller' => 'sylius.controller.product_option:showAction', |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | <<<EOT |
| 238 | 238 | alias: sylius.product |
| 239 | 239 | path: super-duper-products |
| 240 | -EOT; |
|
| 240 | +eot; |
|
| 241 | 241 | |
| 242 | 242 | $showDefaults = [ |
| 243 | 243 | '_controller' => 'sylius.controller.product:showAction', |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | <<<EOT |
| 311 | 311 | alias: sylius.product |
| 312 | 312 | form: sylius_product_custom |
| 313 | -EOT; |
|
| 313 | +eot; |
|
| 314 | 314 | |
| 315 | 315 | $showDefaults = [ |
| 316 | 316 | '_controller' => 'sylius.controller.product:showAction', |
@@ -385,7 +385,7 @@ discard block |
||
| 385 | 385 | <<<EOT |
| 386 | 386 | alias: sylius.product |
| 387 | 387 | section: admin |
| 388 | -EOT; |
|
| 388 | +eot; |
|
| 389 | 389 | |
| 390 | 390 | $showDefaults = [ |
| 391 | 391 | '_controller' => 'sylius.controller.product:showAction', |
@@ -463,7 +463,7 @@ discard block |
||
| 463 | 463 | <<<EOT |
| 464 | 464 | alias: sylius.product |
| 465 | 465 | templates: SyliusAdminBundle:Product |
| 466 | -EOT; |
|
| 466 | +eot; |
|
| 467 | 467 | |
| 468 | 468 | $showDefaults = [ |
| 469 | 469 | '_controller' => 'sylius.controller.product:showAction', |
@@ -538,7 +538,7 @@ discard block |
||
| 538 | 538 | <<<EOT |
| 539 | 539 | alias: sylius.product |
| 540 | 540 | except: ['show', 'delete'] |
| 541 | -EOT; |
|
| 541 | +eot; |
|
| 542 | 542 | |
| 543 | 543 | $indexDefaults = [ |
| 544 | 544 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -590,7 +590,7 @@ discard block |
||
| 590 | 590 | <<<EOT |
| 591 | 591 | alias: sylius.product |
| 592 | 592 | only: ['create', 'index'] |
| 593 | -EOT; |
|
| 593 | +eot; |
|
| 594 | 594 | |
| 595 | 595 | $indexDefaults = [ |
| 596 | 596 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -620,7 +620,7 @@ discard block |
||
| 620 | 620 | alias: sylius.product |
| 621 | 621 | except: ['show', 'delete'] |
| 622 | 622 | only: ['create'] |
| 623 | -EOT; |
|
| 623 | +eot; |
|
| 624 | 624 | |
| 625 | 625 | $this |
| 626 | 626 | ->shouldThrow(\InvalidArgumentException::class) |
@@ -650,7 +650,7 @@ discard block |
||
| 650 | 650 | <<<EOT |
| 651 | 651 | alias: sylius.product |
| 652 | 652 | redirect: update |
| 653 | -EOT; |
|
| 653 | +eot; |
|
| 654 | 654 | |
| 655 | 655 | $showDefaults = [ |
| 656 | 656 | '_controller' => 'sylius.controller.product:showAction', |
@@ -724,7 +724,7 @@ discard block |
||
| 724 | 724 | $configuration = |
| 725 | 725 | <<<EOT |
| 726 | 726 | alias: sylius.product |
| 727 | -EOT; |
|
| 727 | +eot; |
|
| 728 | 728 | |
| 729 | 729 | $showDefaults = [ |
| 730 | 730 | '_controller' => 'sylius.controller.product:showAction', |
@@ -799,7 +799,7 @@ discard block |
||
| 799 | 799 | alias: sylius.product |
| 800 | 800 | only: ['create', 'index'] |
| 801 | 801 | grid: sylius_admin_product |
| 802 | -EOT; |
|
| 802 | +eot; |
|
| 803 | 803 | |
| 804 | 804 | $indexDefaults = [ |
| 805 | 805 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -852,7 +852,7 @@ discard block |
||
| 852 | 852 | bar: foo |
| 853 | 853 | update: |
| 854 | 854 | abc: xyz |
| 855 | -EOT; |
|
| 855 | +eot; |
|
| 856 | 856 | |
| 857 | 857 | $showDefaults = [ |
| 858 | 858 | '_controller' => 'sylius.controller.product:showAction', |
@@ -942,7 +942,7 @@ discard block |
||
| 942 | 942 | <<<EOT |
| 943 | 943 | alias: sylius.product |
| 944 | 944 | permission: true |
| 945 | -EOT; |
|
| 945 | +eot; |
|
| 946 | 946 | |
| 947 | 947 | $showDefaults = [ |
| 948 | 948 | '_controller' => 'sylius.controller.product:showAction', |
@@ -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 | |