Completed
Pull Request — master (#11)
by Lucas
33:48 queued 07:22
created
src/LoginCidadao/CoreBundle/EventListener/ProfileEditListner.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -17,12 +17,9 @@
 block discarded – undo
17 17
 use FOS\UserBundle\Mailer\MailerInterface;
18 18
 use Doctrine\ORM\EntityManager;
19 19
 use LoginCidadao\CoreBundle\Entity\City;
20
-use Assetic\Exception\Exception;
21 20
 use LoginCidadao\CoreBundle\Exception\LcValidationException;
22
-use LoginCidadao\NotificationBundle\Entity\Notification;
23 21
 use LoginCidadao\CoreBundle\Entity\Person;
24 22
 use LoginCidadao\CoreBundle\Entity\State;
25
-use LoginCidadao\CoreBundle\DynamicFormEvents;
26 23
 use LoginCidadao\CoreBundle\Model\DynamicFormData;
27 24
 use LoginCidadao\CoreBundle\Model\SelectData;
28 25
 use LoginCidadao\CoreBundle\Model\PersonInterface;
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Form/Type/CitySelectorComboType.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,6 @@
 block discarded – undo
10 10
 use Symfony\Component\Form\FormEvents;
11 11
 use Symfony\Component\Form\FormInterface;
12 12
 use Symfony\Component\OptionsResolver\OptionsResolver;
13
-use Doctrine\ORM\EntityManager;
14
-use Doctrine\ORM\EntityRepository;
15 13
 use LoginCidadao\CoreBundle\Entity\State;
16 14
 use LoginCidadao\CoreBundle\Model\SelectData;
17 15
 use LoginCidadao\CoreBundle\Model\Manager\CityManager;
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Form/Type/PersonAddressFormType.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,14 +6,11 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Form/Type/PersonResumeFormType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Form/Type/PlaceholderFormType.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -4,12 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Form\FormBuilderInterface;
6 6
 use Doctrine\ORM\EntityRepository;
7
-use LoginCidadao\CoreBundle\Entity\Country;
8
-use LoginCidadao\CoreBundle\Entity\State;
9
-use LoginCidadao\CoreBundle\Entity\City;
10
-use Symfony\Component\Form\FormEvent;
11
-use Symfony\Component\Form\FormEvents;
12
-use Doctrine\ORM\EntityManager;
13 7
 use Symfony\Component\Form\AbstractType;
14 8
 use Symfony\Component\Security\Core\SecurityContext;
15 9
 
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Form/Type/PlaceOfBirthType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Handler/AuthenticationSuccessHandler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,12 +5,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/LoginCidadao/NotificationBundle/Controller/BroadcastController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
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")
Please login to merge, or discard this patch.
LoginCidadao/NotificationBundle/Controller/JsAPI/NotificationController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.