@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 7 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 8 | -use Symfony\Component\HttpFoundation\Response; |
|
| 9 | 8 | |
| 10 | 9 | class SecurityController extends Controller |
| 11 | 10 | { |
@@ -2,7 +2,7 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Controller; |
| 4 | 4 | |
| 5 | -use Symfony\Bundle\FrameworkBundle\Controller\Controller;; |
|
| 5 | +use Symfony\Bundle\FrameworkBundle\Controller\Controller; ; |
|
| 6 | 6 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 7 | 7 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 8 | 8 | use Symfony\Component\HttpFoundation\Response; |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | */ |
| 20 | 20 | public function successAction($kind = 'Great') |
| 21 | 21 | { |
| 22 | - return new Response($kind . ' success!', Response::HTTP_OK); |
|
| 22 | + return new Response($kind.' success!', Response::HTTP_OK); |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | /** |
@@ -167,7 +167,10 @@ discard block |
||
| 167 | 167 | <?php if (count($minorProblems)): ?> |
| 168 | 168 | <h2>Recommendations</h2> |
| 169 | 169 | <p> |
| 170 | - <?php if (count($majorProblems)): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience, |
|
| 170 | + <?php if (count($majorProblems)): ?>Additionally, to<?php else { |
|
| 171 | + : ?>To<?php endif; |
|
| 172 | +} |
|
| 173 | +?> enhance your Symfony experience, |
|
| 171 | 174 | it’s recommended that you fix the following: |
| 172 | 175 | </p> |
| 173 | 176 | <ol> |
@@ -181,9 +184,12 @@ discard block |
||
| 181 | 184 | <p id="phpini">* |
| 182 | 185 | <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?> |
| 183 | 186 | Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>". |
| 184 | - <?php else: ?> |
|
| 187 | + <?php else { |
|
| 188 | + : ?> |
|
| 185 | 189 | To change settings, create a "<strong>php.ini</strong>". |
| 186 | - <?php endif; ?> |
|
| 190 | + <?php endif; |
|
| 191 | +} |
|
| 192 | +?> |
|
| 187 | 193 | </p> |
| 188 | 194 | <?php endif; ?> |
| 189 | 195 | |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 7 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 8 | -use Symfony\Component\HttpFoundation\Response; |
|
| 9 | 8 | |
| 10 | 9 | class SecurityController extends Controller |
| 11 | 10 | { |