@@ -2,18 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\AdminBundle\Command; |
4 | 4 | |
5 | -use Doctrine\ORM\EntityManager; |
|
6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
7 | 6 | use Kunstmaan\AdminBundle\Service\AclManager; |
8 | 7 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
9 | 8 | use Symfony\Component\Console\Input\InputInterface; |
10 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
11 | 10 | use Symfony\Component\Console\Question\ChoiceQuestion; |
12 | -use Symfony\Component\Security\Acl\Domain\Acl; |
|
13 | -use Symfony\Component\Security\Acl\Domain\Entry; |
|
14 | -use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity; |
|
15 | -use Symfony\Component\Security\Acl\Model\MutableAclProviderInterface; |
|
16 | -use Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface; |
|
17 | 11 | use Symfony\Component\Security\Acl\Permission\PermissionMapInterface; |
18 | 12 | |
19 | 13 | /** |
@@ -4,8 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManagerInterface; |
6 | 6 | use Kunstmaan\AdminBundle\Entity\AclChangeset; |
7 | -use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin; |
|
8 | -use Kunstmaan\AdminBundle\Repository\AclChangesetRepository; |
|
9 | 7 | use Kunstmaan\UtilitiesBundle\Helper\Shell\Shell; |
10 | 8 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
11 | 9 | use Symfony\Component\Console\Input\InputInterface; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Kunstmaan\AdminBundle\Helper\DomainConfiguration; |
6 | 6 | use PHPUnit_Framework_TestCase; |
7 | -use Symfony\Component\DependencyInjection\Container; |
|
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | 8 | |
10 | 9 | /** |
@@ -2,15 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\AdminBundle\Command; |
4 | 4 | |
5 | -use Doctrine\ORM\EntityManager; |
|
6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
7 | 6 | use Kunstmaan\AdminBundle\Entity\Group; |
8 | 7 | use Kunstmaan\AdminBundle\Entity\Role; |
9 | 8 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
10 | 9 | use Symfony\Component\Console\Input\InputArgument; |
11 | - |
|
12 | 10 | use Symfony\Component\Console\Input\InputInterface; |
13 | - |
|
14 | 11 | use Symfony\Component\Console\Input\InputOption; |
15 | 12 | use Symfony\Component\Console\Output\OutputInterface; |
16 | 13 |
@@ -2,14 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\AdminBundle\Command; |
4 | 4 | |
5 | -use Doctrine\ORM\EntityManager; |
|
6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
7 | 6 | use Kunstmaan\AdminBundle\Entity\Role; |
8 | 7 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
9 | 8 | use Symfony\Component\Console\Input\InputArgument; |
10 | - |
|
11 | 9 | use Symfony\Component\Console\Input\InputInterface; |
12 | - |
|
13 | 10 | use Symfony\Component\Console\Output\OutputInterface; |
14 | 11 | |
15 | 12 | /** |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\AdminBundle\Command; |
4 | 4 | |
5 | -use Doctrine\ORM\EntityManager; |
|
6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
7 | 6 | use FOS\UserBundle\Model\GroupManagerInterface; |
8 | 7 | use Kunstmaan\AdminBundle\Entity\Group; |
@@ -4,8 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use FOS\UserBundle\Form\Type\ResettingFormType; |
6 | 6 | use InvalidArgumentException; |
7 | - |
|
8 | -use Kunstmaan\AdminBundle\Helper\DomainConfiguration; |
|
9 | 7 | use Symfony\Component\Config\FileLocator; |
10 | 8 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
11 | 9 | use Symfony\Component\DependencyInjection\Definition; |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Kunstmaan\DashboardBundle\Command; |
3 | 3 | |
4 | -use Doctrine\ORM\EntityManager; |
|
5 | 4 | use Kunstmaan\DashboardBundle\Command\Helper\Analytics\ChartDataCommandHelper; |
6 | 5 | use Kunstmaan\DashboardBundle\Command\Helper\Analytics\GoalCommandHelper; |
7 | 6 | use Kunstmaan\DashboardBundle\Command\Helper\Analytics\MetricsCommandHelper; |
@@ -8,13 +8,10 @@ discard block |
||
8 | 8 | use InvalidArgumentException; |
9 | 9 | use Kunstmaan\AdminBundle\Entity\BaseUser; |
10 | 10 | use Kunstmaan\AdminBundle\Entity\EntityInterface; |
11 | -use Kunstmaan\AdminBundle\Entity\User; |
|
12 | 11 | use Kunstmaan\AdminBundle\FlashMessages\FlashTypes; |
13 | 12 | use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget; |
14 | - |
|
15 | 13 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\Tab; |
16 | 14 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabPane; |
17 | - |
|
18 | 15 | use Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper; |
19 | 16 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionMap; |
20 | 17 | use Kunstmaan\AdminBundle\Service\AclManager; |
@@ -43,7 +40,6 @@ discard block |
||
43 | 40 | use Symfony\Component\HttpFoundation\JsonResponse; |
44 | 41 | use Symfony\Component\HttpFoundation\RedirectResponse; |
45 | 42 | use Symfony\Component\HttpFoundation\Request; |
46 | -use Symfony\Component\Security\Acl\Model\EntryInterface; |
|
47 | 43 | use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; |
48 | 44 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
49 | 45 | use Symfony\Component\Translation\TranslatorInterface; |