@@ -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', |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | criteria: |
241 | 241 | code: \$code |
242 | 242 | filterable: true |
243 | -EOT; |
|
243 | +eot; |
|
244 | 244 | |
245 | 245 | $showDefaults = [ |
246 | 246 | '_controller' => 'sylius.controller.product_option:showAction', |
@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | <<<EOT |
334 | 334 | alias: sylius.product |
335 | 335 | path: super-duper-products |
336 | -EOT; |
|
336 | +eot; |
|
337 | 337 | |
338 | 338 | $showDefaults = [ |
339 | 339 | '_controller' => 'sylius.controller.product:showAction', |
@@ -406,7 +406,7 @@ discard block |
||
406 | 406 | <<<EOT |
407 | 407 | alias: sylius.product |
408 | 408 | form: sylius_product_custom |
409 | -EOT; |
|
409 | +eot; |
|
410 | 410 | |
411 | 411 | $showDefaults = [ |
412 | 412 | '_controller' => 'sylius.controller.product:showAction', |
@@ -481,7 +481,7 @@ discard block |
||
481 | 481 | <<<EOT |
482 | 482 | alias: sylius.product |
483 | 483 | section: admin |
484 | -EOT; |
|
484 | +eot; |
|
485 | 485 | |
486 | 486 | $showDefaults = [ |
487 | 487 | '_controller' => 'sylius.controller.product:showAction', |
@@ -559,7 +559,7 @@ discard block |
||
559 | 559 | <<<EOT |
560 | 560 | alias: sylius.product |
561 | 561 | templates: SyliusAdminBundle:Product |
562 | -EOT; |
|
562 | +eot; |
|
563 | 563 | |
564 | 564 | $showDefaults = [ |
565 | 565 | '_controller' => 'sylius.controller.product:showAction', |
@@ -634,7 +634,7 @@ discard block |
||
634 | 634 | <<<EOT |
635 | 635 | alias: sylius.product |
636 | 636 | except: ['show', 'delete'] |
637 | -EOT; |
|
637 | +eot; |
|
638 | 638 | |
639 | 639 | $indexDefaults = [ |
640 | 640 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -686,7 +686,7 @@ discard block |
||
686 | 686 | <<<EOT |
687 | 687 | alias: sylius.product |
688 | 688 | only: ['create', 'index'] |
689 | -EOT; |
|
689 | +eot; |
|
690 | 690 | |
691 | 691 | $indexDefaults = [ |
692 | 692 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -716,7 +716,7 @@ discard block |
||
716 | 716 | alias: sylius.product |
717 | 717 | except: ['show', 'delete'] |
718 | 718 | only: ['create'] |
719 | -EOT; |
|
719 | +eot; |
|
720 | 720 | |
721 | 721 | $this |
722 | 722 | ->shouldThrow(\InvalidArgumentException::class) |
@@ -746,7 +746,7 @@ discard block |
||
746 | 746 | <<<EOT |
747 | 747 | alias: sylius.product |
748 | 748 | redirect: update |
749 | -EOT; |
|
749 | +eot; |
|
750 | 750 | |
751 | 751 | $showDefaults = [ |
752 | 752 | '_controller' => 'sylius.controller.product:showAction', |
@@ -820,7 +820,7 @@ discard block |
||
820 | 820 | $configuration = |
821 | 821 | <<<EOT |
822 | 822 | alias: sylius.product |
823 | -EOT; |
|
823 | +eot; |
|
824 | 824 | |
825 | 825 | $showDefaults = [ |
826 | 826 | '_controller' => 'sylius.controller.product:showAction', |
@@ -896,7 +896,7 @@ discard block |
||
896 | 896 | alias: sylius.product |
897 | 897 | only: ['create', 'index'] |
898 | 898 | grid: sylius_admin_product |
899 | -EOT; |
|
899 | +eot; |
|
900 | 900 | |
901 | 901 | $indexDefaults = [ |
902 | 902 | '_controller' => 'sylius.controller.product:indexAction', |
@@ -949,7 +949,7 @@ discard block |
||
949 | 949 | bar: foo |
950 | 950 | update: |
951 | 951 | abc: xyz |
952 | -EOT; |
|
952 | +eot; |
|
953 | 953 | |
954 | 954 | $showDefaults = [ |
955 | 955 | '_controller' => 'sylius.controller.product:showAction', |
@@ -1039,7 +1039,7 @@ discard block |
||
1039 | 1039 | <<<EOT |
1040 | 1040 | alias: sylius.product |
1041 | 1041 | permission: true |
1042 | -EOT; |
|
1042 | +eot; |
|
1043 | 1043 | |
1044 | 1044 | $showDefaults = [ |
1045 | 1045 | '_controller' => 'sylius.controller.product:showAction', |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | use Symfony\Component\HttpFoundation\Request; |
15 | 15 | |
@@ -23,10 +23,10 @@ discard block |
||
23 | 23 | || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server') |
24 | 24 | ) { |
25 | 25 | header('HTTP/1.0 403 Forbidden'); |
26 | - exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
|
26 | + exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.'); |
|
27 | 27 | } |
28 | 28 | |
29 | -require __DIR__.'/../vendor/autoload.php'; |
|
29 | +require __DIR__ . '/../vendor/autoload.php'; |
|
30 | 30 | |
31 | 31 | $kernel = new AppKernel('test_cached', false); |
32 | 32 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | use Symfony\Component\Debug\Debug; |
15 | 15 | use Symfony\Component\HttpFoundation\Request; |
@@ -24,10 +24,10 @@ discard block |
||
24 | 24 | || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server') |
25 | 25 | ) { |
26 | 26 | header('HTTP/1.0 403 Forbidden'); |
27 | - exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
|
27 | + exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.'); |
|
28 | 28 | } |
29 | 29 | |
30 | -require __DIR__.'/../vendor/autoload.php'; |
|
30 | +require __DIR__ . '/../vendor/autoload.php'; |
|
31 | 31 | |
32 | 32 | Debug::enable(); |
33 | 33 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | use Symfony\Component\Debug\Debug; |
15 | 15 | use Symfony\Component\HttpFoundation\Request; |
@@ -29,10 +29,10 @@ discard block |
||
29 | 29 | || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server') |
30 | 30 | )) { |
31 | 31 | header('HTTP/1.0 403 Forbidden'); |
32 | - exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
|
32 | + exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.'); |
|
33 | 33 | } |
34 | 34 | |
35 | -require __DIR__.'/../vendor/autoload.php'; |
|
35 | +require __DIR__ . '/../vendor/autoload.php'; |
|
36 | 36 | |
37 | 37 | Debug::enable(); |
38 | 38 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | use Symfony\Component\HttpFoundation\Request; |
15 | 15 | |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * Live (production) environment. |
19 | 19 | */ |
20 | 20 | |
21 | -require __DIR__.'/../vendor/autoload.php'; |
|
21 | +require __DIR__ . '/../vendor/autoload.php'; |
|
22 | 22 | |
23 | 23 | $kernel = new AppKernel('prod', false); |
24 | 24 |