@@ -6,8 +6,6 @@ |
||
6 | 6 | use JMS\Serializer\Annotation as JMS; |
7 | 7 | use Symfony\Component\Validator\Constraints as Assert; |
8 | 8 | |
9 | -use Symfony\Component\HttpFoundation\File\UploadedFile; |
|
10 | - |
|
11 | 9 | /** |
12 | 10 | * @ORM\Entity |
13 | 11 | * @ORM\HasLifecycleCallbacks |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use KI\PonthubBundle\Entity\Other; |
10 | 10 | use KI\PonthubBundle\Entity\Serie; |
11 | 11 | use KI\PonthubBundle\Entity\Software; |
12 | -use KI\PonthubBundle\Entity\Genre; |
|
13 | 12 | |
14 | 13 | /** |
15 | 14 | * Class FileHelper |
@@ -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,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 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace KI\UserBundle\Listener; |
4 | 4 | |
5 | -use KI\UserBundle\Entity\User; |
|
6 | 5 | use KI\UserBundle\Event\UserRegistrationEvent; |
7 | 6 | use Swift_Mailer; |
8 | 7 | use Swift_Message; |
@@ -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 |