Completed
Pull Request — master (#11)
by Lucas
33:48 queued 07:22
created
NotificationBundle/Handler/AuthenticatedNotificationHandler.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -2,17 +2,10 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/LoginCidadao/NotificationBundle/Helper/NotificationsHelper.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -10,12 +10,7 @@
 block discarded – undo
10 10
 use LoginCidadao\NotificationBundle\Entity\Notification;
11 11
 use LoginCidadao\NotificationBundle\Entity\Category;
12 12
 use LoginCidadao\NotificationBundle\Exception\MissingCategoryException;
13
-use Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer;
14
-use Symfony\Component\Serializer\Encoder\JsonEncoder;
15
-use Symfony\Component\Serializer\Serializer;
16
-use LoginCidadao\NotificationBundle\Form\NotificationType;
17 13
 use JMS\Serializer\SerializationContext;
18
-use LoginCidadao\NotificationBundle\Handler\NotificationHandler;
19 14
 use LoginCidadao\NotificationBundle\Entity\Placeholder;
20 15
 
21 16
 class NotificationsHelper
Please login to merge, or discard this patch.
src/LoginCidadao/NotificationBundle/Model/BroadcastPlaceholder.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\NotificationBundle\Model;
4 4
 
5 5
 use LoginCidadao\NotificationBundle\Entity\Placeholder;
6
-use Doctrine\Common\Collections\ArrayCollection;
7 6
 use Doctrine\ORM\EntityManager;
8 7
 
9 8
 class BroadcastPlaceholder
Please login to merge, or discard this patch.
src/LoginCidadao/OAuthBundle/Entity/Client.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/LoginCidadao/APIBundle/Controller/PersonAddressController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Entity/IdCard.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Entity/PersonRepository.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\Entity;
4 4
 
5 5
 use Doctrine\ORM\EntityRepository;
6
-use Doctrine\ORM\QueryBuilder;
7 6
 
8 7
 class PersonRepository extends EntityRepository
9 8
 {
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Form/Type/LoginFormType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use Symfony\Component\Form\FormBuilderInterface;
5 5
 use EWZ\Bundle\RecaptchaBundle\Validator\Constraints\True;
6 6
 use Symfony\Component\Form\AbstractType;
7
-use Symfony\Component\Security\Core\Validator\Constraints\UserPassword;
8 7
 use Symfony\Component\OptionsResolver\OptionsResolver;
9 8
 use Symfony\Component\Security\Core\SecurityContext;
10 9
 
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Security/Http/Firewall/LoginCidadaoListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener;
5 5
 use Symfony\Component\HttpFoundation\Request;
6
-use LoginCidadao\CoreBundle\Entity\Person;
7 6
 use Symfony\Component\Security\Core\Exception\BadCredentialsException;
8 7
 use LoginCidadao\CoreBundle\Entity\AccessSession;
9 8
 use Symfony\Component\Security\Core\SecurityContextInterface;
Please login to merge, or discard this patch.