@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use eZ\Publish\Core\FieldType\BinaryBase\Type as BinaryBaseType; |
| 14 | 14 | use eZ\Publish\SPI\Persistence\Content\FieldValue; |
| 15 | 15 | use eZ\Publish\SPI\FieldType\Value as SPIValue; |
| 16 | -use eZ\Publish\Core\FieldType\Value as BaseValue; |
|
| 17 | 16 | |
| 18 | 17 | /** |
| 19 | 18 | * The TextLine field type. |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use eZ\Publish\Core\MVC\Symfony\RequestStackAware; |
| 16 | 16 | use eZ\Publish\Core\MVC\Symfony\Routing\RouteReference; |
| 17 | 17 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 18 | -use Symfony\Component\HttpFoundation\Request; |
|
| 19 | 18 | |
| 20 | 19 | class RouteReferenceGenerator implements RouteReferenceGeneratorInterface |
| 21 | 20 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
| 5 | 5 | use eZ\Publish\SPI\Persistence\Content\Field; |
| 6 | 6 | use eZ\Publish\SPI\Persistence\Content\FieldValue; |
| 7 | -use eZ\Publish\SPI\Persistence\Content\Location; |
|
| 8 | 7 | use eZ\Publish\SPI\Persistence\Content\VersionInfo; |
| 9 | 8 | |
| 10 | 9 | $content = new Content(); |
@@ -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 | /** |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | namespace eZ\Bundle\EzPublishRestBundle\Tests\Functional; |
| 12 | 12 | |
| 13 | 13 | use eZ\Bundle\EzPublishRestBundle\Tests\Functional\TestCase as RESTFunctionalTestCase; |
| 14 | -use eZ\Publish\API\Repository\Values\User\Limitation; |
|
| 15 | 14 | |
| 16 | 15 | class RoleTest extends RESTFunctionalTestCase |
| 17 | 16 | { |
@@ -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. |
@@ -8,11 +8,10 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | namespace eZ\Publish\API\Repository\Tests; |
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch as LegacyElasticsearchSetupFactory; |
|
| 11 | +use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch; |
|
| 12 | 12 | use eZ\Publish\API\Repository\Values\Content\ContentInfo; |
| 13 | 13 | use eZ\Publish\API\Repository\Exceptions\NotFoundException; |
| 14 | 14 | use eZ\Publish\API\Repository\SearchService; |
| 15 | -use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch; |
|
| 16 | 15 | use eZ\Publish\API\Repository\Values\Content\LocationQuery; |
| 17 | 16 | use eZ\Publish\API\Repository\Values\Content\Query; |
| 18 | 17 | use eZ\Publish\API\Repository\Values\Content\Query\Criterion; |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | namespace eZ\Publish\API\Repository\Tests\Common; |
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Values\Content\Query; |
|
| 12 | 11 | use eZ\Publish\API\Repository\Values\Content\Query\Criterion; |
| 13 | 12 | use eZ\Publish\API\Repository\Values\Content\Query\SortClause; |
| 14 | 13 | use eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder; |