@@ -8,7 +8,6 @@ |
||
8 | 8 | use LoginCidadao\NotificationBundle\Entity\Notification; |
9 | 9 | use Symfony\Component\HttpFoundation\File\File; |
10 | 10 | use Symfony\Component\Validator\Constraints as Assert; |
11 | -use JMS\Serializer\Tests\Fixtures\Publisher; |
|
12 | 11 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
13 | 12 | use JMS\Serializer\Annotation as JMS; |
14 | 13 | use OAuth2\OAuth2; |
@@ -2,10 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace LoginCidadao\APIBundle\Controller; |
4 | 4 | |
5 | -use FOS\RestBundle\Util\Codes; |
|
6 | 5 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
7 | 6 | use Symfony\Component\HttpFoundation\Request; |
8 | -use FOS\RestBundle\Request\ParamFetcherInterface; |
|
9 | 7 | use FOS\RestBundle\Controller\Annotations as REST; |
10 | 8 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
11 | 9 | use LoginCidadao\APIBundle\Security\Audit\Annotation as Audit; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use JMS\Serializer\Annotation as JMS; |
10 | 10 | use LoginCidadao\CoreBundle\Model\IdCardInterface; |
11 | 11 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
12 | - |
|
13 | 12 | use LoginCidadao\ValidationControlBundle\Validator\Constraints as Validators; |
14 | 13 | |
15 | 14 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace LoginCidadao\CoreBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | -use Doctrine\ORM\QueryBuilder; |
|
7 | 6 | |
8 | 7 | class PersonRepository extends EntityRepository |
9 | 8 | { |
@@ -4,10 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
7 | -use LoginCidadao\OAuthBundle\Entity\Client; |
|
8 | 7 | use LoginCidadao\CoreBundle\Entity\Person; |
9 | -use Symfony\Component\Validator\Constraints as Assert; |
|
10 | -use JMS\Serializer\Annotation as JMS; |
|
11 | 8 | use LoginCidadao\NotificationBundle\Handler\NotificationHandler; |
12 | 9 | |
13 | 10 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace LoginCidadao\APIBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | -use LoginCidadao\CoreBundle\Model\PersonInterface; |
|
7 | 6 | use LoginCidadao\OAuthBundle\Model\ClientInterface; |
8 | 7 | |
9 | 8 | /** |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace LoginCidadao\OAuthBundle\Entity; |
3 | 3 | |
4 | 4 | use Doctrine\ORM\Mapping as ORM; |
5 | -use Symfony\Component\Validator\Constraints as Assert; |
|
6 | 5 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
7 | 6 | |
8 | 7 | /** |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use LoginCidadao\CoreBundle\Entity\State; |
9 | 9 | use LoginCidadao\CoreBundle\Model\IdCardInterface; |
10 | 10 | use LoginCidadao\CoreBundle\Entity\IdCard; |
11 | -use LoginCidadao\ValidationControlBundle\Validator\Constraints\IdCardValidator; |
|
12 | 11 | use Symfony\Component\Validator\Constraint; |
13 | 12 | use LoginCidadao\ValidationControlBundle\Event\IdCardValidateEvent; |
14 | 13 | use Symfony\Component\Validator\ExecutionContextInterface; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace LoginCidadao\OAuthBundle\Entity; |
3 | 3 | |
4 | 4 | use Doctrine\ORM\Mapping as ORM; |
5 | -use Symfony\Component\Validator\Constraints as Assert; |
|
6 | 5 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
7 | 6 | |
8 | 7 | /** |