Completed
Push — improvement ( 796547...e66d5d )
by
unknown
21:57
created
eZ/Publish/Core/REST/Client/ContentTypeService.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Controller/Role.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Publish/Core/Search/Legacy/Content/WordIndexer/Gateway/DoctrineDatabase.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/DomainMapperTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,10 +13,9 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/ContentTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
Core/REST/Server/Tests/Output/ValueObjectVisitor/RestExecutedViewTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,9 +17,8 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.