Completed
Pull Request — 3.x (#5164)
by Marko
04:20
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\Admin\Extension\AlterNewInstanceInterface;
19 18
 use Sonata\AdminBundle\Admin\Extension\AlterObjectInterface;
Please login to merge, or discard this patch.
src/Admin/AdminExtensionInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -55,6 +55,7 @@
 block discarded – undo
55 55
      * @param string $action
56 56
      *
57 57
      * @deprecated
58
+     * @return void
58 59
      */
59 60
     public function configureSideMenu(
60 61
         AdminInterface $admin,
Please login to merge, or discard this patch.
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -28,13 +28,6 @@
 block discarded – undo
28 28
 use Sonata\AdminBundle\Admin\Extension\PreRemoveInterface;
29 29
 use Sonata\AdminBundle\Admin\Extension\PreUpdateInterface;
30 30
 use Sonata\AdminBundle\Admin\Extension\ValidateInterface;
31
-use Sonata\AdminBundle\Datagrid\DatagridMapper;
32
-use Sonata\AdminBundle\Datagrid\ListMapper;
33
-use Sonata\AdminBundle\Datagrid\ProxyQueryInterface;
34
-use Sonata\AdminBundle\Form\FormMapper;
35
-use Sonata\AdminBundle\Route\RouteCollection;
36
-use Sonata\AdminBundle\Show\ShowMapper;
37
-use Sonata\CoreBundle\Validator\ErrorElement;
38 31
 
39 32
 @trigger_error(sprintf(
40 33
     '"%s" is deprecated since 3.x and will be removed in 4.0.'
Please login to merge, or discard this patch.