Completed
Pull Request — 3.x (#4669)
by Jordi Sala
06:15 queued 02:35
created
Tests/Controller/CRUDControllerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@  discard block
 block discarded – undo
17 17
 use Sonata\AdminBundle\Admin\AbstractAdmin;
18 18
 use Sonata\AdminBundle\Admin\FieldDescriptionCollection;
19 19
 use Sonata\AdminBundle\Admin\Pool;
20
-use Sonata\AdminBundle\Bridge\Exporter\AdminExporter;
21 20
 use Sonata\AdminBundle\Controller\CRUDController;
22 21
 use Sonata\AdminBundle\Exception\LockException;
23 22
 use Sonata\AdminBundle\Exception\ModelManagerException;
@@ -34,7 +33,6 @@  discard block
 block discarded – undo
34 33
 use Symfony\Component\HttpFoundation\Session\Session;
35 34
 use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage;
36 35
 use Symfony\Component\HttpKernel\Exception\HttpException;
37
-use Symfony\Component\HttpKernel\Kernel;
38 36
 use Symfony\Component\HttpKernel\KernelInterface;
39 37
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
40 38
 use Symfony\Component\Security\Csrf\CsrfToken;
Please login to merge, or discard this patch.
Admin/AbstractAdmin.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,9 +13,8 @@
 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
-use Symfony\Component\Translation\TranslatorInterface;
18 16
 use Knp\Menu\ItemInterface as MenuItemInterface;
17
+use Symfony\Component\Translation\TranslatorInterface;
19 18
 use Sonata\AdminBundle\Builder\DatagridBuilderInterface;
20 19
 use Sonata\AdminBundle\Builder\FormContractorInterface;
21 20
 use Sonata\AdminBundle\Builder\ListBuilderInterface;
Please login to merge, or discard this patch.