@@ -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 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | |
30 | 30 | $firstYear = (int) (new \DateTime($firstDate))->format('Y'); |
31 | 31 | $lastYear = (int) (new \DateTime($lastDate))->format('Y'); |
32 | - $years = $lastYear - $firstYear + 1; |
|
32 | + $years = $lastYear - $firstYear + 1; |
|
33 | 33 | $chart->getOptions()->setHeight(200 * $years); |
34 | 34 | |
35 | 35 | $chart->getOptions()->getCalendar()->setCellSize(18); |
@@ -85,7 +85,6 @@ |
||
85 | 85 | * @param Event|null $event |
86 | 86 | * |
87 | 87 | * @throws \Exception |
88 | - |
|
89 | 88 | * @return array |
90 | 89 | */ |
91 | 90 | public function getSummaryTicketsSoldData(Event $event) |