@@ -34,7 +34,7 @@ |
||
34 | 34 | * |
35 | 35 | * @Route("/", name="homepage") |
36 | 36 | * |
37 | - * @return \HttpResponse |
|
37 | + * @return \Symfony\Component\HttpFoundation\Response |
|
38 | 38 | */ |
39 | 39 | public function indexAction(Request $request) |
40 | 40 | { |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | * Adds a mandatory requirement in form of a php.ini configuration. |
224 | 224 | * |
225 | 225 | * @param string $cfgName The configuration name used for ini_get() |
226 | - * @param bool|callback $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
226 | + * @param boolean|string $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
227 | 227 | * or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement |
228 | 228 | * @param bool $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false. |
229 | 229 | * This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin. |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | * Adds an optional recommendation in form of a php.ini configuration. |
242 | 242 | * |
243 | 243 | * @param string $cfgName The configuration name used for ini_get() |
244 | - * @param bool|callback $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
244 | + * @param string|false $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
245 | 245 | * or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement |
246 | 246 | * @param bool $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false. |
247 | 247 | * This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin. |
@@ -175,7 +175,10 @@ discard block |
||
175 | 175 | <?php if ($hasMinorProblems): ?> |
176 | 176 | <h2>Recommendations</h2> |
177 | 177 | <p> |
178 | - <?php if ($hasMajorProblems): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience, |
|
178 | + <?php if ($hasMajorProblems): ?>Additionally, to<?php else { |
|
179 | + : ?>To<?php endif; |
|
180 | +} |
|
181 | +?> enhance your Symfony experience, |
|
179 | 182 | it’s recommended that you fix the following: |
180 | 183 | </p> |
181 | 184 | <ol> |
@@ -191,9 +194,12 @@ discard block |
||
191 | 194 | <p id="phpini">* |
192 | 195 | <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?> |
193 | 196 | Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>". |
194 | - <?php else: ?> |
|
197 | + <?php else { |
|
198 | + : ?> |
|
195 | 199 | To change settings, create a "<strong>php.ini</strong>". |
196 | - <?php endif; ?> |
|
200 | + <?php endif; |
|
201 | +} |
|
202 | +?> |
|
197 | 203 | </p> |
198 | 204 | <?php endif; ?> |
199 | 205 |