Completed
Pull Request — 3.x (#4827)
by Jordi Sala
04:57
created
src/Admin/AbstractAdmin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 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;
Please login to merge, or discard this patch.
src/DependencyInjection/SonataAdminExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,6 @@
 block discarded – undo
91 91
 use Sonata\AdminBundle\Util\ObjectAclManipulatorInterface;
92 92
 use Symfony\Component\Config\FileLocator;
93 93
 use Symfony\Component\DependencyInjection\ContainerBuilder;
94
-use Symfony\Component\DependencyInjection\Definition;
95 94
 use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
96 95
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
97 96
 use Symfony\Component\DependencyInjection\Reference;
Please login to merge, or discard this patch.
src/Form/DataTransformer/LegacyModelsToArrayTransformer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sonata\AdminBundle\Form\DataTransformer;
13 13
 
14 14
 use Sonata\AdminBundle\Form\ChoiceList\ModelChoiceList;
15
-use Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface;
16 15
 use Symfony\Component\Form\DataTransformerInterface;
17 16
 use Symfony\Component\Form\Exception\TransformationFailedException;
18 17
 use Symfony\Component\Form\Exception\UnexpectedTypeException;
Please login to merge, or discard this patch.
tests/Command/ExplainAdminCommandTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 use Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface;
31 31
 use Symfony\Component\Validator\Mapping\GenericMetadata;
32 32
 use Symfony\Component\Validator\Mapping\MetadataInterface;
33
-use Symfony\Component\Validator\Validator\ValidatorInterface;
34 33
 
35 34
 /**
36 35
  * @author Andrej Hudec <[email protected]>
Please login to merge, or discard this patch.