@@ -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 | |
@@ -47,7 +47,8 @@ |
||
| 47 | 47 | { |
| 48 | 48 | $resolver->setNormalizer('validation_groups', function (Options $options, array $validationGroups) { |
| 49 | 49 | return function (FormInterface $form) use ($validationGroups) { |
| 50 | - if ((bool) $form->get('promotionCoupon')->getNormData()) { // Validate the coupon if it was sent |
|
| 50 | + if ((bool) $form->get('promotionCoupon')->getNormData()) { |
|
| 51 | +// Validate the coupon if it was sent |
|
| 51 | 52 | $validationGroups[] = 'sylius_promotion_coupon'; |
| 52 | 53 | } |
| 53 | 54 | |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | ->setHelp( |
| 30 | 30 | <<<EOT |
| 31 | 31 | The <info>%command.name%</info> command downloads and installs all Sylius media assets. |
| 32 | -EOT |
|
| 32 | +eot |
|
| 33 | 33 | ) |
| 34 | 34 | ; |
| 35 | 35 | } |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | ->setHelp( |
| 31 | 31 | <<<EOT |
| 32 | 32 | The <info>%command.name%</info> command checks system requirements. |
| 33 | -EOT |
|
| 33 | +eot |
|
| 34 | 34 | ) |
| 35 | 35 | ; |
| 36 | 36 | } |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | ->setHelp( |
| 41 | 41 | <<<EOT |
| 42 | 42 | The <info>%command.name%</info> command allows user to configure basic Sylius data. |
| 43 | -EOT |
|
| 43 | +eot |
|
| 44 | 44 | ) |
| 45 | 45 | ; |
| 46 | 46 | } |
@@ -46,8 +46,8 @@ |
||
| 46 | 46 | StateMachineInterface $secondOrderStateMachine |
| 47 | 47 | ): void { |
| 48 | 48 | $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([ |
| 49 | - $firstOrder, |
|
| 50 | - $secondOrder, |
|
| 49 | + $firstOrder, |
|
| 50 | + $secondOrder, |
|
| 51 | 51 | ]); |
| 52 | 52 | |
| 53 | 53 | $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine); |
@@ -25,7 +25,8 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function it_does_not_crash(): void |
| 27 | 27 | { |
| 28 | - $class = new class() extends Bundle { |
|
| 28 | + $class = new class() extends Bundle |
|
| 29 | + { |
|
| 29 | 30 | use SyliusPluginTrait; |
| 30 | 31 | }; |
| 31 | 32 | |