@@ -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. |
@@ -13,10 +13,9 @@ |
||
13 | 13 | use eZ\Publish\API\Repository\Values\Content\VersionInfo as APIVersionInfo; |
14 | 14 | use eZ\Publish\Core\Repository\Tests\Service\Mock\Base as BaseServiceMockTest; |
15 | 15 | use eZ\Publish\Core\Repository\Helper\DomainMapper; |
16 | -use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
|
16 | +use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo; |
|
17 | 17 | use eZ\Publish\SPI\Persistence\Content\Location; |
18 | 18 | use eZ\Publish\SPI\Persistence\Content\VersionInfo as SPIVersionInfo; |
19 | -use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * Mock test case for internal DomainMapper. |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | use eZ\Publish\API\Repository\ContentTypeService as APIContentTypeService; |
15 | 15 | use eZ\Publish\API\Repository\LocationService as APILocationService; |
16 | 16 | use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
17 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo as APIContentInfo; |
|
17 | +use eZ\Publish\API\Repository\Values\Content\ContentInfo; |
|
18 | 18 | use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType; |
19 | 19 | use eZ\Publish\API\Repository\Values\Content\Location as APILocation; |
20 | 20 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition; |
@@ -33,7 +33,6 @@ discard block |
||
33 | 33 | use eZ\Publish\Core\Repository\Helper\NameSchemaService; |
34 | 34 | use eZ\Publish\API\Repository\Values\Content\Field; |
35 | 35 | use eZ\Publish\Core\FieldType\Value; |
36 | -use eZ\Publish\API\Repository\Values\Content\ContentInfo; |
|
37 | 36 | use eZ\Publish\API\Repository\Values\Content\VersionInfo as APIVersionInfo; |
38 | 37 | use eZ\Publish\Core\Repository\Values\ContentType\ContentType; |
39 | 38 | use eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition; |
@@ -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 | { |