Completed
Push — ezp-30646 ( 188ef9...14ac70 )
by
unknown
13:10
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/Bundle/EzPublishCoreBundle/Command/TestInitDbCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
     /**
160 160
      * Applies the given SQL $statements to the database in use.
161 161
      *
162
-     * @param array $statements
162
+     * @param string[] $statements
163 163
      */
164 164
     protected function applyStatements(array $statements)
165 165
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,6 +218,9 @@  discard block
 block discarded – undo
218 218
         }
219 219
     }
220 220
 
221
+    /**
222
+     * @param boolean $commit
223
+     */
221 224
     protected function indexIncrementally(InputInterface $input, OutputInterface $output, $iterationCount, $commit)
222 225
     {
223 226
         if ($contentIds = $input->getOption('content-ids')) {
@@ -285,6 +288,10 @@  discard block
 block discarded – undo
285 288
         $progress->finish();
286 289
     }
287 290
 
291
+    /**
292
+     * @param integer $processCount
293
+     * @param integer $iterationCount
294
+     */
288 295
     private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit)
289 296
     {
290 297
         /** @var \Symfony\Component\Process\Process[]|null[] */
@@ -341,7 +348,7 @@  discard block
 block discarded – undo
341 348
     }
342 349
 
343 350
     /**
344
-     * @param mixed $locationId
351
+     * @param integer $locationId
345 352
      * @param bool $count
346 353
      *
347 354
      * @return \Doctrine\DBAL\Driver\Statement
Please login to merge, or discard this patch.