Completed
Push — feature/EVO-7278-security-and-... ( ec06f5...19a53c )
by
unknown
29:18 queued 24:23
created
src/Graviton/RestBundle/Controller/RestController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -17,14 +17,11 @@  discard block
 block discarded – undo
17 17
 use Graviton\SecurityBundle\Entities\SecurityUser;
18 18
 use Graviton\SecurityBundle\Service\SecurityUtils;
19 19
 use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
20
-use Symfony\Component\Security\Core\User\UserInterface;
21 20
 use Symfony\Component\DependencyInjection\ContainerInterface;
22 21
 use Symfony\Component\HttpFoundation\Request;
23 22
 use Symfony\Component\HttpFoundation\Response;
24
-use Symfony\Component\HttpKernel\Exception\PreconditionRequiredHttpException;
25 23
 use Symfony\Component\Routing\Exception\RouteNotFoundException;
26 24
 use Symfony\Bundle\FrameworkBundle\Routing\Router;
27
-use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
28 25
 use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
29 26
 use Rs\Json\Patch;
30 27
 use Rs\Json\Patch\InvalidPatchDocumentJsonException;
@@ -32,7 +29,6 @@  discard block
 block discarded – undo
32 29
 use Rs\Json\Patch\InvalidOperationException;
33 30
 use Rs\Json\Patch\FailedTestException;
34 31
 use Graviton\RestBundle\Service\JsonPatchValidator;
35
-use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken;
36 32
 
37 33
 /**
38 34
  * This is a basic rest controller. It should fit the most needs but if you need to add some
Please login to merge, or discard this patch.