@@ -11,17 +11,15 @@ |
||
| 11 | 11 | use Graviton\Rql\Node\SearchNode; |
| 12 | 12 | use Graviton\SchemaBundle\Model\SchemaModel; |
| 13 | 13 | use Graviton\SecurityBundle\Entities\SecurityUser; |
| 14 | -use Symfony\Bridge\Monolog\Logger; |
|
| 15 | 14 | use Symfony\Component\HttpFoundation\Request; |
| 16 | 15 | use Doctrine\ODM\MongoDB\Query\Builder; |
| 17 | 16 | use Graviton\Rql\Visitor\MongoOdm as Visitor; |
| 18 | 17 | use Xiag\Rql\Parser\Node\Query\AbstractLogicOperatorNode; |
| 19 | 18 | use Xiag\Rql\Parser\Node\Query\AbstractScalarOperatorNode; |
| 20 | -use Xiag\Rql\Parser\Query; |
|
| 19 | +use Xiag\Rql\Parser\Query as XiagQuery; |
|
| 21 | 20 | use Graviton\ExceptionBundle\Exception\RecordOriginModifiedException; |
| 22 | 21 | use Xiag\Rql\Parser\Exception\SyntaxErrorException as RqlSyntaxErrorException; |
| 23 | 22 | use Graviton\SchemaBundle\Document\Schema as SchemaDocument; |
| 24 | -use Xiag\Rql\Parser\Query as XiagQuery; |
|
| 25 | 23 | |
| 26 | 24 | /** |
| 27 | 25 | * Use doctrine odm as backend |
@@ -17,14 +17,11 @@ discard block |
||
| 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 |
||
| 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 |