@@ -36,10 +36,10 @@ |
||
36 | 36 | |
37 | 37 | $fileConstraint = new Collection( |
38 | 38 | [ |
39 | - 'file' => [ |
|
40 | - new NotBlank(), |
|
41 | - new Image(), |
|
42 | - ], |
|
39 | + 'file' => [ |
|
40 | + new NotBlank(), |
|
41 | + new Image(), |
|
42 | + ], |
|
43 | 43 | ] |
44 | 44 | ); |
45 | 45 |
@@ -402,8 +402,7 @@ |
||
402 | 402 | if ($payment->getTickets()->count() > 0) { |
403 | 403 | if (0 === (int) $payment->getAmount()) { |
404 | 404 | $formAction = $payment->getFwdaysAmount() > 0 ? |
405 | - $this->generateUrl('event_pay_by_bonus', ['eventSlug' => $event->getSlug()]) : |
|
406 | - $this->generateUrl('event_pay_by_promocode', ['eventSlug' => $event->getSlug()]); |
|
405 | + $this->generateUrl('event_pay_by_bonus', ['eventSlug' => $event->getSlug()]) : $this->generateUrl('event_pay_by_promocode', ['eventSlug' => $event->getSlug()]); |
|
407 | 406 | $byeBtnCaption = $this->get('translator')->trans('ticket.status.get'); |
408 | 407 | } else { |
409 | 408 | $payType = 'wayforpay'; |
@@ -553,7 +553,7 @@ |
||
553 | 553 | 'Content-Disposition' => sprintf('attachment; filename="%s"', $filename), |
554 | 554 | 'Content-Type' => 'text/csv', |
555 | 555 | ]; |
556 | - $callback = function () use ($users) { |
|
556 | + $callback = function() use ($users) { |
|
557 | 557 | $usersFile = \fopen('php://output', 'w'); |
558 | 558 | foreach ($users as $fields) { |
559 | 559 | \fputcsv($usersFile, $fields); |
@@ -56,7 +56,10 @@ discard block |
||
56 | 56 | <?php if (count($minorProblems)): ?> |
57 | 57 | <h2>Recommendations</h2> |
58 | 58 | <p> |
59 | - <?php if (count($majorProblems)): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience, |
|
59 | + <?php if (count($majorProblems)): ?>Additionally, to<?php else { |
|
60 | + : ?>To<?php endif; |
|
61 | +} |
|
62 | +?> enhance your Symfony experience, |
|
60 | 63 | it’s recommended that you fix the following: |
61 | 64 | </p> |
62 | 65 | <ol> |
@@ -70,9 +73,12 @@ discard block |
||
70 | 73 | <p id="phpini">* |
71 | 74 | <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?> |
72 | 75 | Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>". |
73 | - <?php else: ?> |
|
76 | + <?php else { |
|
77 | + : ?> |
|
74 | 78 | To change settings, create a "<strong>php.ini</strong>". |
75 | - <?php endif; ?> |
|
79 | + <?php endif; |
|
80 | +} |
|
81 | +?> |
|
76 | 82 | </p> |
77 | 83 | <?php endif; ?> |
78 | 84 |