@@ -382,7 +382,10 @@ discard block |
||
| 382 | 382 | <?php if ($hasMinorProblems): ?> |
| 383 | 383 | <h2>Recommendations</h2> |
| 384 | 384 | <p> |
| 385 | - <?php if ($hasMajorProblems): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience, |
|
| 385 | + <?php if ($hasMajorProblems): ?>Additionally, to<?php else { |
|
| 386 | + : ?>To<?php endif; |
|
| 387 | +} |
|
| 388 | +?> enhance your Symfony experience, |
|
| 386 | 389 | it’s recommended that you fix the following: |
| 387 | 390 | </p> |
| 388 | 391 | <ol> |
@@ -398,9 +401,12 @@ discard block |
||
| 398 | 401 | <p id="phpini">* |
| 399 | 402 | <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?> |
| 400 | 403 | Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>". |
| 401 | - <?php else: ?> |
|
| 404 | + <?php else { |
|
| 405 | + : ?> |
|
| 402 | 406 | To change settings, create a "<strong>php.ini</strong>". |
| 403 | - <?php endif; ?> |
|
| 407 | + <?php endif; |
|
| 408 | +} |
|
| 409 | +?> |
|
| 404 | 410 | </p> |
| 405 | 411 | <?php endif; ?> |
| 406 | 412 | |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | ->setOwner($user->getOwner()) |
| 84 | 84 | ->setOwnerUuid($user->getOwnerUuid()) |
| 85 | 85 | ->setIndividual($identity) |
| 86 | - ->setTitle([ // @todo remove hard-coded titles |
|
| 86 | + ->setTitle([// @todo remove hard-coded titles |
|
| 87 | 87 | 'en' => 'Default', |
| 88 | 88 | 'fr' => 'Défaut' |
| 89 | 89 | ]) |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | ->setOwner($user->getOwner()) |
| 104 | 104 | ->setOwnerUuid($user->getOwnerUuid()) |
| 105 | 105 | ->setOrganization($identity) |
| 106 | - ->setTitle([ // @todo remove hard-coded titles |
|
| 106 | + ->setTitle([// @todo remove hard-coded titles |
|
| 107 | 107 | 'en' => 'Default', |
| 108 | 108 | 'fr' => 'Défaut' |
| 109 | 109 | ]) |
@@ -30,15 +30,15 @@ |
||
| 30 | 30 | $url['query']['redirect_uri'] = $success.'?tenant='.urlencode($tenant).'&service='.urlencode($service); |
| 31 | 31 | $url['query'] = http_build_query($url['query']); |
| 32 | 32 | $authorizationUrl = (function(array $url) { |
| 33 | - $scheme = isset($url['scheme']) ? $url['scheme'] . '://' : ''; |
|
| 33 | + $scheme = isset($url['scheme']) ? $url['scheme'].'://' : ''; |
|
| 34 | 34 | $host = isset($url['host']) ? $url['host'] : ''; |
| 35 | - $port = isset($url['port']) ? ':' . $url['port'] : ''; |
|
| 35 | + $port = isset($url['port']) ? ':'.$url['port'] : ''; |
|
| 36 | 36 | $user = isset($url['user']) ? $url['user'] : ''; |
| 37 | - $pass = isset($url['pass']) ? ':' . $url['pass'] : ''; |
|
| 37 | + $pass = isset($url['pass']) ? ':'.$url['pass'] : ''; |
|
| 38 | 38 | $pass = ($user || $pass) ? "$pass@" : ''; |
| 39 | 39 | $path = isset($url['path']) ? $url['path'] : ''; |
| 40 | - $query = isset($url['query']) ? '?' . $url['query'] : ''; |
|
| 41 | - $fragment = isset($url['fragment']) ? '#' . $url['fragment'] : ''; |
|
| 40 | + $query = isset($url['query']) ? '?'.$url['query'] : ''; |
|
| 41 | + $fragment = isset($url['fragment']) ? '#'.$url['fragment'] : ''; |
|
| 42 | 42 | |
| 43 | 43 | return "$scheme$user$pass$host$port$path$query$fragment"; |
| 44 | 44 | })($url); |