@@ -2,17 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Controller; |
| 4 | 4 | |
| 5 | -use AppBundle\Cart\Cart; |
|
| 6 | -use AppBundle\Cart\CartSerializer; |
|
| 7 | 5 | use AppBundle\Entity\Order; |
| 8 | -use AppBundle\Event\OrderEvent; |
|
| 9 | -use AppBundle\Event\OrderEvents; |
|
| 10 | -use AppBundle\Form\Type\OrderType; |
|
| 11 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
| 12 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 13 | 8 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 14 | 9 | use Symfony\Component\HttpFoundation\Request; |
| 15 | -use Symfony\Component\HttpFoundation\Response; |
|
| 16 | 10 | |
| 17 | 11 | class AdminOrderController extends Controller |
| 18 | 12 | { |
@@ -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 | |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
| 10 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 11 | 11 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 12 | -use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
|
| 13 | 12 | use Symfony\Component\HttpFoundation\Request; |
| 14 | 13 | |
| 15 | 14 | class AdminMenuController extends Controller |