Completed
Push — ezp-30882-thumbnail ( c2bd81...097891 )
by
unknown
13:37
created
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/Persistence/Legacy/Tests/Content/LocationHandlerTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 namespace eZ\Publish\Core\Persistence\Legacy\Tests\Content;
10 10
 
11 11
 use eZ\Publish\Core\Persistence\Legacy\Tests\TestCase;
12
-use eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler;
12
+use eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler as LocationHandler;
13 13
 use eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway;
14 14
 use eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct;
15 15
 use eZ\Publish\SPI\Persistence\Content\Location\CreateStruct;
@@ -23,7 +23,6 @@  discard block
 block discarded – undo
23 23
 use eZ\Publish\SPI\Persistence\Content\ObjectState;
24 24
 use eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Handler as ObjectStateHandler;
25 25
 use eZ\Publish\SPI\Persistence\Content\ObjectState\Group as ObjectStateGroup;
26
-use eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler as LocationHandler;
27 26
 
28 27
 /**
29 28
  * Test case for LocationHandlerTest.
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.
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
@@ -15,11 +15,10 @@
 block discarded – undo
15 15
 use eZ\Publish\Core\Repository\Tests\Service\Mock\Base as BaseServiceMockTest;
16 16
 use eZ\Publish\Core\Repository\Helper\DomainMapper;
17 17
 use eZ\Publish\Core\Repository\Values\Content\Content;
18
-use eZ\Publish\SPI\Persistence\Content\ContentInfo;
18
+use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo;
19 19
 use eZ\Publish\SPI\Persistence\Content\Location;
20 20
 use eZ\Publish\API\Repository\Values\Content\Location as APILocation;
21 21
 use eZ\Publish\SPI\Persistence\Content\VersionInfo as SPIVersionInfo;
22
-use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo;
23 22
 
24 23
 /**
25 24
  * Mock test case for internal DomainMapper.
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Handler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 use Exception;
12 12
 use eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway as LocationGateway;
13
-use eZ\Publish\SPI\Persistence\Content\Field;
14 13
 use eZ\Publish\SPI\Persistence\Content\Handler as BaseContentHandler;
15 14
 use eZ\Publish\SPI\Persistence\Content\Type\Handler as ContentTypeHandler;
16 15
 use eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter;
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/ContentTypeService.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 use eZ\Publish\API\Repository\Repository as RepositoryInterface;
13 13
 use eZ\Publish\Core\FieldType\FieldTypeRegistry;
14 14
 use eZ\Publish\SPI\Persistence\Content\Type\Handler;
15
-use eZ\Publish\API\Repository\Values\ContentType\ContentType;
15
+use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
16 16
 use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException;
17 17
 use eZ\Publish\API\Repository\Exceptions\BadStateException as APIBadStateException;
18 18
 use eZ\Publish\API\Repository\Values\User\User;
@@ -20,7 +20,6 @@  discard block
 block discarded – undo
20 20
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct;
21 21
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition;
22 22
 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct;
23
-use eZ\Publish\API\Repository\Values\ContentType\ContentType as APIContentType;
24 23
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft as APIContentTypeDraft;
25 24
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup as APIContentTypeGroup;
26 25
 use eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct;
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use eZ\Publish\SPI\Persistence\Content\VersionInfo;
19 19
 use eZ\Publish\SPI\Persistence\Content\Field;
20 20
 use eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct as RelationCreateStruct;
21
-use Doctrine\DBAL\DBALException;
22 21
 use PDOException;
23 22
 
24 23
 /**
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Content/Location/Gateway/ExceptionConversion.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway;
13 13
 use eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct;
14 14
 use eZ\Publish\SPI\Persistence\Content\Location\CreateStruct;
15
-use Doctrine\DBAL\DBALException;
16 15
 use PDOException;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.