| @@ -12,7 +12,6 @@ | ||
| 12 | 12 | |
| 13 | 13 | use eZ\Publish\Core\FieldType\BinaryFile\Value as BinaryFileValue; | 
| 14 | 14 | use eZ\Publish\API\Repository\Values\Content\Field; | 
| 15 | -use eZ\Publish\API\Repository\Values\Content\Query\Criterion; | |
| 16 | 15 | |
| 17 | 16 | /** | 
| 18 | 17 | * Integration test for use field type. | 
| @@ -10,7 +10,6 @@ | ||
| 10 | 10 | */ | 
| 11 | 11 | namespace eZ\Publish\API\Repository\Tests\FieldType; | 
| 12 | 12 | |
| 13 | -use eZ\Publish\Core\FieldType\Float\Type; | |
| 14 | 13 | use eZ\Publish\Core\FieldType\Float\Value as FloatValue; | 
| 15 | 14 | use eZ\Publish\API\Repository\Values\Content\Field; | 
| 16 | 15 | |
| @@ -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 | /** | 
| @@ -15,9 +15,8 @@ | ||
| 15 | 15 | use eZ\Publish\API\Repository\Values\Content\Search\SearchResult; | 
| 16 | 16 | use eZ\Publish\Core\REST\Common\Tests\Output\ValueObjectVisitorBaseTest; | 
| 17 | 17 | use eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor; | 
| 18 | -use eZ\Publish\Core\Repository\Values\Content; | |
| 19 | -use eZ\Publish\Core\REST\Server\Values\RestExecutedView; | |
| 20 | 18 | use eZ\Publish\Core\Repository\Values\Content as ApiValues; | 
| 19 | +use eZ\Publish\Core\REST\Server\Values\RestExecutedView; | |
| 21 | 20 | |
| 22 | 21 | class RestExecutedViewTest extends ValueObjectVisitorBaseTest | 
| 23 | 22 |  { | 
| @@ -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 |  { |