Completed
Pull Request — 5.0 (#2066)
by Jeroen
31:48 queued 20:01
created
src/Kunstmaan/AdminBundle/Command/ApplyAclCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Kunstmaan\AdminBundle\Command;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Kunstmaan\AdminBundle\Entity\AclChangeset;
8 7
 use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin;
9 8
 use Kunstmaan\AdminBundle\Repository\AclChangesetRepository;
10
-
11 9
 use Kunstmaan\UtilitiesBundle\Helper\Shell\Shell;
12 10
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
13 11
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Command/CreateGroupCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,9 +7,7 @@
 block discarded – undo
7 7
 use Kunstmaan\AdminBundle\Entity\Role;
8 8
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
9 9
 use Symfony\Component\Console\Input\InputArgument;
10
-
11 10
 use Symfony\Component\Console\Input\InputInterface;
12
-
13 11
 use Symfony\Component\Console\Input\InputOption;
14 12
 use Symfony\Component\Console\Output\OutputInterface;
15 13
 
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Command/CreateRoleCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 use Kunstmaan\AdminBundle\Entity\Role;
7 7
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
8 8
 use Symfony\Component\Console\Input\InputArgument;
9
-
10 9
 use Symfony\Component\Console\Input\InputInterface;
11
-
12 10
 use Symfony\Component\Console\Output\OutputInterface;
13 11
 
14 12
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/DependencyInjection/KunstmaanAdminExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use FOS\UserBundle\Form\Type\ResettingFormType;
6 6
 use InvalidArgumentException;
7
-
8 7
 use Symfony\Component\Config\FileLocator;
9 8
 use Symfony\Component\DependencyInjection\ContainerBuilder;
10 9
 use Symfony\Component\DependencyInjection\Definition;
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Entity/Group.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 Kunstmaan\AdminBundle\Entity;
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6
-
7 6
 use Doctrine\Common\Collections\Collection;
8 7
 use Doctrine\ORM\Mapping as ORM;
9 8
 use FOS\UserBundle\Model\GroupInterface;
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/EventListener/AdminLocaleListener.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
     /**
83 83
      * @param TokenInterface $token
84
-     * @param                $providerKey
84
+     * @param                string $providerKey
85 85
      *
86 86
      * @return bool
87 87
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
5 5
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
6 6
 use Symfony\Component\HttpKernel\Event\GetResponseEvent;
7 7
 use Symfony\Component\HttpKernel\KernelEvents;
8
-use Symfony\Component\Security\Core\Authentication\Token\RememberMeToken;
9 8
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
10 9
 use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
11
-use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
12 10
 use Symfony\Component\Translation\TranslatorInterface;
13 11
 use Kunstmaan\AdminBundle\Helper\AdminRouteHelper;
14 12
 
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Form/UserType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * Setter to check if we can display all form fields
29 29
      *
30 30
      * @param $canEditAllFields
31
-     * @return bool
31
+     * @return boolean|null
32 32
      */
33 33
     public function setCanEditAllFields($canEditAllFields)
34 34
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/AdminPanel/DefaultAdminPanelAdaptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     }
21 21
 
22 22
     /**
23
-     * @return AdminPanelActionInterface[]
23
+     * @return AdminPanelAction[]
24 24
      */
25 25
     public function getAdminPanelActions()
26 26
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/AdminRouteHelper.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 Kunstmaan\AdminBundle\Helper;
4 4
 
5 5
 use Kunstmaan\NodeBundle\Router\SlugRouter;
6
-use Symfony\Component\HttpFoundation\Request;
7 6
 use Symfony\Component\HttpFoundation\RequestStack;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.