Completed
Pull Request — master (#4938)
by Andrey F.
16:47
created
src/Menu/Matcher/Voter/AdminVoter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * @deprecated since version 3.31. Pass a RequestStack to the constructor instead.
44 44
      *
45
+     * @param Request $request
45 46
      * @return $this
46 47
      */
47 48
     public function setRequest($request)
Please login to merge, or discard this patch.
tests/DependencyInjection/Compiler/AddDependencyCallsCompilerPassTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -20,13 +20,11 @@  discard block
 block discarded – undo
20 20
 use Sonata\AdminBundle\DependencyInjection\Compiler\AddDependencyCallsCompilerPass;
21 21
 use Sonata\AdminBundle\DependencyInjection\SonataAdminExtension;
22 22
 use Sonata\AdminBundle\Route\RoutesCache;
23
-use Sonata\BlockBundle\DependencyInjection\SonataBlockExtension;
24 23
 use Sonata\DoctrinePHPCRAdminBundle\Route\PathInfoBuilderSlashes;
25 24
 use Symfony\Bundle\FrameworkBundle\Translation\Translator;
26 25
 use Symfony\Bundle\FrameworkBundle\Translation\TranslatorInterface;
27 26
 use Symfony\Bundle\FrameworkBundle\Validator\ConstraintValidatorFactory;
28 27
 use Symfony\Bundle\FrameworkBundle\Validator\Validator;
29
-use Symfony\Component\Config\FileLocatorInterface;
30 28
 use Symfony\Component\DependencyInjection\ChildDefinition;
31 29
 use Symfony\Component\DependencyInjection\ContainerBuilder;
32 30
 use Symfony\Component\DependencyInjection\Definition;
@@ -34,7 +32,6 @@  discard block
 block discarded – undo
34 32
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
35 33
 use Symfony\Component\Form\FormFactoryInterface;
36 34
 use Symfony\Component\HttpFoundation\RequestStack;
37
-use Symfony\Component\HttpKernel\KernelInterface;
38 35
 use Symfony\Component\PropertyAccess\PropertyAccessor;
39 36
 use Symfony\Component\Routing\RouterInterface;
40 37
 use Twig\Environment;
Please login to merge, or discard this patch.