@@ -29,7 +29,8 @@ |
||
29 | 29 | use eZ\Publish\Core\REST\Common\RequestParser; |
30 | 30 | use eZ\Publish\Core\REST\Common\Input\Dispatcher; |
31 | 31 | use eZ\Publish\Core\REST\Common\Output\Visitor; |
32 | -use eZ\Publish\Core\REST\Common\Message; use eZ\Publish\Core\REST\Client\Exceptions\InvalidArgumentValue; |
|
32 | +use eZ\Publish\Core\REST\Common\Message; |
|
33 | +use eZ\Publish\Core\REST\Client\Exceptions\InvalidArgumentValue; |
|
33 | 34 | use eZ\Publish\Core\REST\Common\Exceptions\InvalidArgumentException; |
34 | 35 | use eZ\Publish\Core\REST\Common\Exceptions\ForbiddenException; |
35 | 36 | use eZ\Publish\Core\REST\Client\Exceptions\BadStateException; |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | namespace eZ\Publish\Core\REST\Server\Controller; |
12 | 12 | |
13 | 13 | use eZ\Publish\API\Repository\Exceptions\LimitationValidationException; |
14 | -use eZ\Publish\API\Repository\Exceptions\NotFoundException; |
|
14 | +use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
|
15 | 15 | use eZ\Publish\Core\Base\Exceptions\ForbiddenException; |
16 | 16 | use eZ\Publish\Core\Base\Exceptions\InvalidArgumentException; |
17 | 17 | use eZ\Publish\Core\Base\Exceptions\UnauthorizedException; |
@@ -25,7 +25,6 @@ discard block |
||
25 | 25 | use eZ\Publish\API\Repository\LocationService; |
26 | 26 | use eZ\Publish\API\Repository\Values\User\RoleCreateStruct; |
27 | 27 | use eZ\Publish\API\Repository\Values\User\RoleUpdateStruct; |
28 | -use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
|
29 | 28 | use Symfony\Component\HttpFoundation\Request; |
30 | 29 | |
31 | 30 | /** |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use eZ\Publish\Core\Search\Legacy\Content\FullTextData; |
15 | 15 | use eZ\Publish\SPI\Persistence\Content; |
16 | 16 | use eZ\Publish\SPI\Persistence\Content\Type\Handler as SPITypeHandler; |
17 | -use eZ\Publish\SPI\Search\Field; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * WordIndexer gateway implementation using the Doctrine database. |
@@ -17,9 +17,8 @@ |
||
17 | 17 | use eZ\Publish\Core\Repository\Values\ContentType\ContentType; |
18 | 18 | use eZ\Publish\Core\REST\Common\Tests\Output\ValueObjectVisitorBaseTest; |
19 | 19 | use eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor; |
20 | -use eZ\Publish\Core\Repository\Values\Content; |
|
21 | -use eZ\Publish\Core\REST\Server\Values\RestExecutedView; |
|
22 | 20 | use eZ\Publish\Core\Repository\Values\Content as ApiValues; |
21 | +use eZ\Publish\Core\REST\Server\Values\RestExecutedView; |
|
23 | 22 | |
24 | 23 | class RestExecutedViewTest extends ValueObjectVisitorBaseTest |
25 | 24 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use eZ\Publish\Core\Persistence\Database\SelectQuery; |
18 | 18 | use eZ\Publish\SPI\Persistence\Content\Type\Handler as ContentTypeHandler; |
19 | 19 | use eZ\Publish\SPI\Persistence\Content\Language\Handler as LanguageHandler; |
20 | -use eZ\Publish\Core\Persistence\Database\Expression; |
|
21 | 20 | |
22 | 21 | /** |
23 | 22 | * Field criterion handler. |