@@ -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 | |
@@ -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 | |
@@ -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); |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | OperandDynamicField(o.number) OperandStaticLiteral("8") |
| 147 | 147 | ) |
| 148 | 148 | ) |
| 149 | -EOT |
|
| 149 | +eot |
|
| 150 | 150 | ); |
| 151 | 151 | } |
| 152 | 152 | |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | ) |
| 185 | 185 | ) |
| 186 | 186 | ) |
| 187 | -EOT |
|
| 187 | +eot |
|
| 188 | 188 | ); |
| 189 | 189 | } |
| 190 | 190 | |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | ) |
| 231 | 231 | ) |
| 232 | 232 | ) |
| 233 | -EOT |
|
| 233 | +eot |
|
| 234 | 234 | ); |
| 235 | 235 | } |
| 236 | 236 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | ->setDescription('Initialize default permissions & roles in the application.') |
| 31 | 31 | ->setHelp(<<<EOT |
| 32 | 32 | The <info>%command.name%</info> command initializes default RBAC setup. |
| 33 | -EOT |
|
| 33 | +eot |
|
| 34 | 34 | ) |
| 35 | 35 | ; |
| 36 | 36 | } |
@@ -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(); |
@@ -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', |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | $configuration = |
| 150 | 150 | <<<EOT |
| 151 | 151 | alias: sylius.product_option |
| 152 | -EOT; |
|
| 152 | +eot; |
|
| 153 | 153 | |
| 154 | 154 | $showDefaults = [ |
| 155 | 155 | '_controller' => 'sylius.controller.product_option:showAction', |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | <<<EOT |
| 208 | 208 | alias: sylius.product |
| 209 | 209 | path: super-duper-products |
| 210 | -EOT; |
|
| 210 | +eot; |
|
| 211 | 211 | |
| 212 | 212 | $showDefaults = [ |
| 213 | 213 | '_controller' => 'sylius.controller.product:showAction', |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | <<<EOT |
| 266 | 266 | alias: sylius.product |
| 267 | 267 | form: sylius_product_custom |
| 268 | -EOT; |
|
| 268 | +eot; |
|
| 269 | 269 | |
| 270 | 270 | $showDefaults = [ |
| 271 | 271 | '_controller' => 'sylius.controller.product:showAction', |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | <<<EOT |
| 330 | 330 | alias: sylius.product |
| 331 | 331 | section: admin |
| 332 | -EOT; |
|
| 332 | +eot; |
|
| 333 | 333 | |
| 334 | 334 | $showDefaults = [ |
| 335 | 335 | '_controller' => 'sylius.controller.product:showAction', |
@@ -402,7 +402,7 @@ discard block |
||
| 402 | 402 | <<<EOT |
| 403 | 403 | alias: sylius.product |
| 404 | 404 | templates: SyliusAdminBundle:Product |
| 405 | -EOT; |
|
| 405 | +eot; |
|
| 406 | 406 | |
| 407 | 407 | $showDefaults = [ |
| 408 | 408 | '_controller' => 'sylius.controller.product:showAction', |
@@ -470,7 +470,7 @@ discard block |
||
| 470 | 470 | <<<EOT |
| 471 | 471 | alias: sylius.product |
| 472 | 472 | except: ['show', 'delete'] |
| 473 | -EOT; |
|
| 473 | +eot; |
|
| 474 | 474 | |
| 475 | 475 | $indexDefaults = [ |
| 476 | 476 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -513,7 +513,7 @@ discard block |
||
| 513 | 513 | <<<EOT |
| 514 | 514 | alias: sylius.product |
| 515 | 515 | only: ['create', 'index'] |
| 516 | -EOT; |
|
| 516 | +eot; |
|
| 517 | 517 | |
| 518 | 518 | $indexDefaults = [ |
| 519 | 519 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -537,7 +537,7 @@ discard block |
||
| 537 | 537 | alias: sylius.product |
| 538 | 538 | except: ['show', 'delete'] |
| 539 | 539 | only: ['create'] |
| 540 | -EOT; |
|
| 540 | +eot; |
|
| 541 | 541 | |
| 542 | 542 | $this |
| 543 | 543 | ->shouldThrow(\InvalidArgumentException::class) |
@@ -567,7 +567,7 @@ discard block |
||
| 567 | 567 | <<<EOT |
| 568 | 568 | alias: sylius.product |
| 569 | 569 | redirect: update |
| 570 | -EOT; |
|
| 570 | +eot; |
|
| 571 | 571 | |
| 572 | 572 | $showDefaults = [ |
| 573 | 573 | '_controller' => 'sylius.controller.product:showAction', |
@@ -630,7 +630,7 @@ discard block |
||
| 630 | 630 | $configuration = |
| 631 | 631 | <<<EOT |
| 632 | 632 | alias: sylius.product |
| 633 | -EOT; |
|
| 633 | +eot; |
|
| 634 | 634 | |
| 635 | 635 | $showDefaults = [ |
| 636 | 636 | '_controller' => 'sylius.controller.product:showAction', |
@@ -698,7 +698,7 @@ discard block |
||
| 698 | 698 | alias: sylius.product |
| 699 | 699 | only: ['create', 'index'] |
| 700 | 700 | grid: sylius_admin_product |
| 701 | -EOT; |
|
| 701 | +eot; |
|
| 702 | 702 | |
| 703 | 703 | $indexDefaults = [ |
| 704 | 704 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -747,7 +747,7 @@ discard block |
||
| 747 | 747 | bar: foo |
| 748 | 748 | update: |
| 749 | 749 | abc: xyz |
| 750 | -EOT; |
|
| 750 | +eot; |
|
| 751 | 751 | |
| 752 | 752 | $showDefaults = [ |
| 753 | 753 | '_controller' => 'sylius.controller.product:showAction', |
@@ -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 | } |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | |
| 66 | 66 | } |
| 67 | 67 | ); |
| 68 | -PHP |
|
| 68 | +php |
|
| 69 | 69 | ); |
| 70 | 70 | |
| 71 | 71 | $theme->getPath()->willReturn(dirname($settingsPath)); |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | <?php |
| 81 | 81 | |
| 82 | 82 | return new \stdClass(); |
| 83 | -PHP |
|
| 83 | +php |
|
| 84 | 84 | ); |
| 85 | 85 | |
| 86 | 86 | $theme->getPath()->willReturn(dirname($settingsPath)); |