Completed
Push — master ( f33806...7a283c )
by Andy
02:14
created
EventListener/ExceptionListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Palmtree\CanonicalUrlBundle\EventListener;
4 4
 
5
-use Palmtree\CanonicalUrlBundle\Service\CanonicalUrlGenerator;
6 5
 use Symfony\Component\HttpFoundation\RedirectResponse;
7
-use Symfony\Component\HttpKernel\Event\GetResponseEvent;
8 6
 use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
9 7
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
10 8
 use Symfony\Component\Routing\Exception\ResourceNotFoundException;
Please login to merge, or discard this patch.
EventListener/RequestListener.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -5,11 +5,6 @@
 block discarded – undo
5 5
 use Palmtree\CanonicalUrlBundle\Service\CanonicalUrlGenerator;
6 6
 use Symfony\Component\HttpFoundation\RedirectResponse;
7 7
 use Symfony\Component\HttpKernel\Event\GetResponseEvent;
8
-use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
9
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
10
-use Symfony\Component\Routing\Exception\ResourceNotFoundException;
11
-use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
12
-use Symfony\Component\Routing\RouterInterface;
13 8
 
14 9
 class RequestListener
15 10
 {
Please login to merge, or discard this patch.