@@ -5,9 +5,7 @@ |
||
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Symfony\Bundle\FrameworkBundle\Routing\Router; |
7 | 7 | use Symfony\Component\Form\FormFactory; |
8 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
9 | 8 | use Symfony\Component\HttpFoundation\RequestStack; |
10 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
11 | 9 | |
12 | 10 | // Valide les formulaires pour une entité et affiche la réponse à la demande |
13 | 11 | class FormHelper |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
8 | 7 | use Symfony\Component\HttpFoundation\RequestStack; |
9 | 8 | use Symfony\Component\HttpFoundation\Response; |
10 | 9 |
@@ -2,17 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace KI\DvpBundle\Command; |
4 | 4 | |
5 | -use Doctrine\DBAL\Exception\UniqueConstraintViolationException; |
|
6 | -use Doctrine\ORM\NoResultException; |
|
7 | 5 | use KI\DvpBundle\Entity\BasketDate;; |
6 | +use Swift_Message; |
|
8 | 7 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
9 | -use Symfony\Component\Console\Input\InputArgument; |
|
10 | 8 | use Symfony\Component\Console\Input\InputInterface; |
11 | -use Symfony\Component\Console\Input\InputOption; |
|
12 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
13 | 10 | |
14 | -use Swift_Message; |
|
15 | - |
|
16 | 11 | |
17 | 12 | class SendOrdersCommand extends ContainerAwareCommand |
18 | 13 | { |
@@ -3,12 +3,11 @@ |
||
3 | 3 | namespace KI\DvpBundle\Controller; |
4 | 4 | |
5 | 5 | use KI\CoreBundle\Controller\ResourceController; |
6 | +use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
|
6 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
7 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | -use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
|
9 | 9 | use Symfony\Component\DependencyInjection\ContainerInterface; |
10 | 10 | use Symfony\Component\HttpFoundation\Request; |
11 | -use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
|
12 | 11 | |
13 | 12 | class BasketDatesController extends ResourceController |
14 | 13 | { |
@@ -3,11 +3,10 @@ |
||
3 | 3 | namespace KI\DvpBundle\Controller; |
4 | 4 | |
5 | 5 | use KI\CoreBundle\Controller\ResourceController; |
6 | +use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
|
6 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
7 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | -use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
|
9 | 9 | use Symfony\Component\DependencyInjection\ContainerInterface; |
10 | -use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
|
11 | 10 | |
12 | 11 | class BasketsController extends ResourceController |
13 | 12 | { |
@@ -2,6 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | namespace KI\UserBundle\Controller; |
4 | 4 | |
5 | +use Exception; |
|
5 | 6 | use KI\CoreBundle\Controller\ResourceController; |
6 | 7 | use KI\UserBundle\Entity\Achievement; |
7 | 8 | use KI\UserBundle\Entity\User; |
@@ -13,7 +14,6 @@ discard block |
||
13 | 14 | use Symfony\Component\HttpFoundation\Request; |
14 | 15 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
15 | 16 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
16 | -use Exception; |
|
17 | 17 | |
18 | 18 | class UsersController extends ResourceController |
19 | 19 | { |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use KI\CoreBundle\Service\CurlService; |
7 | 7 | use KI\CoreBundle\Service\ImageService; |
8 | 8 | use KI\UserBundle\Entity\User; |
9 | - |
|
10 | 9 | use KI\UserBundle\Event\UserRegistrationEvent; |
11 | 10 | |
12 | 11 | class FacebookImportUserRegistrationListener |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Symfony\Component\Security\Core\Exception\CustomUserMessageAuthenticationException; |
12 | 12 | use Symfony\Component\Security\Core\Exception\UsernameNotFoundException; |
13 | 13 | use Symfony\Component\Security\Core\User\UserInterface; |
14 | - |
|
15 | 14 | use Symfony\Component\Security\Core\User\UserProviderInterface; |
16 | 15 | |
17 | 16 |
@@ -7,8 +7,8 @@ |
||
7 | 7 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
8 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
9 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
10 | -use Symfony\Component\Form\Exception\UnexpectedTypeException; |
|
11 | 10 | use Symfony\Component\DependencyInjection\ContainerInterface; |
11 | +use Symfony\Component\Form\Exception\UnexpectedTypeException; |
|
12 | 12 | use Symfony\Component\HttpFoundation\Request; |
13 | 13 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
14 | 14 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |