Completed
Pull Request — master (#4668)
by Jordi Sala
03:42
created
Tests/Fixtures/Admin/CommentWithCustomRouteAdmin.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Sonata\AdminBundle\Tests\Fixtures\Admin;
4 4
 
5
-use Sonata\AdminBundle\Admin\AbstractAdmin;
6
-use Sonata\AdminBundle\Route\RouteCollection;
7
-
8 5
 class CommentWithCustomRouteAdmin extends CommentAdmin
9 6
 {
10 7
     protected $baseRoutePattern = 'comment-custom';
Please login to merge, or discard this patch.
Admin/AbstractAdmin.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@  discard block
 block discarded – undo
13 13
 
14 14
 use Doctrine\Common\Util\ClassUtils;
15 15
 use Knp\Menu\FactoryInterface as MenuFactoryInterface;
16
-use Knp\Menu\ItemInterface;
17 16
 use Knp\Menu\ItemInterface as MenuItemInterface;
18 17
 use Sonata\AdminBundle\Builder\DatagridBuilderInterface;
19 18
 use Sonata\AdminBundle\Builder\FormContractorInterface;
@@ -43,7 +42,6 @@  discard block
 block discarded – undo
43 42
 use Symfony\Component\Routing\Generator\UrlGeneratorInterface as RoutingUrlGeneratorInterface;
44 43
 use Symfony\Component\Security\Acl\Model\DomainObjectInterface;
45 44
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
46
-use Symfony\Component\Translation\TranslatorInterface;
47 45
 use Symfony\Component\Validator\Validator\ValidatorInterface;
48 46
 use Symfony\Component\Validator\ValidatorInterface as LegacyValidatorInterface;
49 47
 
Please login to merge, or discard this patch.
Form/Type/AclMatrixType.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 Symfony\Component\Form\AbstractType;
15 15
 use Symfony\Component\Form\FormBuilderInterface;
16 16
 use Symfony\Component\OptionsResolver\OptionsResolver;
17
-use Symfony\Component\OptionsResolver\OptionsResolverInterface;
18 17
 use Symfony\Component\Security\Core\User\UserInterface;
19 18
 
20 19
 /**
Please login to merge, or discard this patch.
Form/Type/Filter/DateRangeType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Symfony\Component\Form\FormBuilderInterface;
16 16
 use Symfony\Component\OptionsResolver\OptionsResolver;
17 17
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
18
-use Symfony\Component\Translation\TranslatorInterface;
19 18
 
20 19
 /**
21 20
  * @author Thomas Rabaix <[email protected]>
Please login to merge, or discard this patch.
Form/Type/ModelType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 use Symfony\Component\Form\FormView;
24 24
 use Symfony\Component\OptionsResolver\Options;
25 25
 use Symfony\Component\OptionsResolver\OptionsResolver;
26
-use Symfony\Component\OptionsResolver\OptionsResolverInterface;
27 26
 use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
28 27
 
29 28
 /**
Please login to merge, or discard this patch.