@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace LoginCidadao\APIBundle\Controller; |
4 | 4 | |
5 | 5 | use FOS\RestBundle\Controller\FOSRestController; |
6 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
7 | 6 | use FOS\RestBundle\Controller\Annotations as REST; |
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | 8 | use LoginCidadao\CoreBundle\Entity\Country; |
@@ -6,14 +6,11 @@ |
||
6 | 6 | use Symfony\Component\Form\AbstractType; |
7 | 7 | use Symfony\Component\OptionsResolver\OptionsResolver; |
8 | 8 | use Symfony\Component\Translation\TranslatorInterface; |
9 | -use LoginCidadao\CoreBundle\Form\DataTransformer\StateToStringTransformer; |
|
10 | 9 | use LoginCidadao\CoreBundle\Entity\Country; |
11 | 10 | use Doctrine\ORM\EntityManager; |
12 | -use Doctrine\ORM\EntityRepository; |
|
13 | 11 | use Symfony\Component\Form\FormEvent; |
14 | 12 | use Symfony\Component\Form\FormEvents; |
15 | 13 | use LoginCidadao\CoreBundle\Entity\State; |
16 | -use LoginCidadao\CoreBundle\Entity\City; |
|
17 | 14 | use LoginCidadao\CoreBundle\Entity\PersonAddress; |
18 | 15 | use LoginCidadao\CoreBundle\Model\SelectData; |
19 | 16 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace LoginCidadao\CoreBundle\Form\Type; |
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormBuilderInterface; |
6 | -use Doctrine\ORM\EntityRepository; |
|
7 | 6 | use Symfony\Component\Form\FormEvent; |
8 | 7 | use Symfony\Component\Form\FormEvents; |
9 | 8 | use LoginCidadao\CoreBundle\Form\Type\CommonFormType; |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Symfony\Component\Form\FormEvent; |
8 | 8 | use Symfony\Component\Form\FormEvents; |
9 | 9 | use Symfony\Component\OptionsResolver\OptionsResolver; |
10 | -use Doctrine\ORM\EntityManager; |
|
11 | 10 | use Doctrine\ORM\EntityRepository; |
12 | 11 | use LoginCidadao\CoreBundle\Entity\State; |
13 | 12 |
@@ -5,12 +5,10 @@ |
||
5 | 5 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
6 | 6 | use Symfony\Component\HttpFoundation\Request; |
7 | 7 | use Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler; |
8 | -use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface; |
|
9 | 8 | use Symfony\Component\HttpFoundation\RedirectResponse; |
10 | 9 | use Symfony\Component\HttpFoundation\Session\Session; |
11 | 10 | use Symfony\Component\Routing\RouterInterface; |
12 | 11 | use Doctrine\ORM\EntityManager; |
13 | -use LoginCidadao\CoreBundle\Entity\Person; |
|
14 | 12 | use LoginCidadao\CoreBundle\Entity\AccessSession; |
15 | 13 | use Symfony\Component\Security\Http\HttpUtils; |
16 | 14 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use LoginCidadao\NotificationBundle\Entity\Notification; |
15 | 15 | use LoginCidadao\CoreBundle\Helper\GridHelper; |
16 | 16 | use LoginCidadao\NotificationBundle\Entity\Broadcast; |
17 | -use LoginCidadao\NotificationBundle\Handler\NotificationHandler; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * @Route("/dev/broadcasts") |
@@ -2,10 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace LoginCidadao\NotificationBundle\Controller\JsAPI; |
4 | 4 | |
5 | -use FOS\RestBundle\Util\Codes; |
|
6 | 5 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
7 | -use Symfony\Component\HttpFoundation\Request; |
|
8 | -use FOS\RestBundle\Request\ParamFetcherInterface; |
|
9 | 6 | use FOS\RestBundle\Controller\Annotations as REST; |
10 | 7 | use FOS\RestBundle\Controller\FOSRestController; |
11 | 8 | use LoginCidadao\NotificationBundle\Handler\NotificationHandlerInterface; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | 6 | use LoginCidadao\CoreBundle\Entity\Person; |
7 | -use Doctrine\ORM\Query; |
|
8 | 7 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
9 | 8 | use LoginCidadao\OAuthBundle\Model\ClientInterface; |
10 | 9 |
@@ -2,17 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace LoginCidadao\NotificationBundle\Handler; |
4 | 4 | |
5 | -use Doctrine\Common\Persistence\ObjectManager; |
|
6 | -use Symfony\Component\Form\FormFactoryInterface; |
|
7 | 5 | use LoginCidadao\NotificationBundle\Handler\NotificationHandlerInterface; |
8 | -use LoginCidadao\NotificationBundle\Form\NotificationType; |
|
9 | -use LoginCidadao\NotificationBundle\Model\NotificationInterface; |
|
10 | -use LoginCidadao\NotificationBundle\Exception\InvalidFormException; |
|
11 | 6 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
12 | 7 | use LoginCidadao\OAuthBundle\Model\ClientInterface; |
13 | 8 | use LoginCidadao\NotificationBundle\Model\CategoryInterface; |
14 | -use LoginCidadao\NotificationBundle\Entity\PersonNotificationOption; |
|
15 | -use LoginCidadao\NotificationBundle\Model\NotificationSettings; |
|
16 | 9 | use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; |
17 | 10 | |
18 | 11 | class AuthenticatedNotificationHandler implements AuthenticatedNotificationHandlerInterface |