Completed
Push — master ( acd6b4...077898 )
by André
38:13 queued 25:36
created
eZ/Publish/Core/REST/Server/Tests/Input/Parser/PolicyUpdateTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
     /**
248 248
      * Get the role service mock object.
249 249
      *
250
-     * @return \eZ\Publish\API\Repository\RoleService
250
+     * @return \PHPUnit_Framework_MockObject_MockObject
251 251
      */
252 252
     protected function getRoleServiceMock()
253 253
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Tests/Input/Parser/RoleInputTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
     /**
248 248
      * Get the role service mock object.
249 249
      *
250
-     * @return \eZ\Publish\API\Repository\RoleService
250
+     * @return \PHPUnit_Framework_MockObject_MockObject
251 251
      */
252 252
     protected function getRoleServiceMock()
253 253
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Tests/Input/Parser/UserGroupCreateTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
     /**
451 451
      * Get the field type parser mock object.
452 452
      *
453
-     * @return \eZ\Publish\Core\REST\Common\Input\FieldTypeParser;
453
+     * @return FieldTypeParser
454 454
      */
455 455
     private function getFieldTypeParserMock()
456 456
     {
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
     /**
478 478
      * Get the user service mock object.
479 479
      *
480
-     * @return \eZ\Publish\API\Repository\UserService
480
+     * @return \PHPUnit_Framework_MockObject_MockObject
481 481
      */
482 482
     protected function getUserServiceMock()
483 483
     {
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
     /**
511 511
      * Get the content type service mock object.
512 512
      *
513
-     * @return \eZ\Publish\API\Repository\ContentTypeService
513
+     * @return \PHPUnit_Framework_MockObject_MockObject
514 514
      */
515 515
     protected function getContentTypeServiceMock()
516 516
     {
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
@@ -161,6 +161,9 @@  discard block
 block discarded – undo
161 161
         }
162 162
     }
163 163
 
164
+    /**
165
+     * @param boolean $commit
166
+     */
164 167
     protected function indexIncrementally(InputInterface $input, OutputInterface $output, $iterationCount, $commit)
165 168
     {
166 169
         if ($contentIds = $input->getOption('content-ids')) {
@@ -223,6 +226,10 @@  discard block
 block discarded – undo
223 226
         $progress->finish();
224 227
     }
225 228
 
229
+    /**
230
+     * @param integer $processCount
231
+     * @param integer $iterationCount
232
+     */
226 233
     private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit)
227 234
     {
228 235
         /**
@@ -277,7 +284,7 @@  discard block
 block discarded – undo
277 284
     }
278 285
 
279 286
     /**
280
-     * @param mixed $locationId
287
+     * @param integer $locationId
281 288
      * @param bool $count
282 289
      *
283 290
      * @return \Doctrine\DBAL\Driver\Statement
Please login to merge, or discard this patch.
eZ/Publish/Core/MVC/Symfony/FieldType/Tests/RichText/RendererTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1397,7 +1397,7 @@  discard block
 block discarded – undo
1397 1397
     }
1398 1398
 
1399 1399
     /**
1400
-     * @param array $methods
1400
+     * @param string[] $methods
1401 1401
      *
1402 1402
      * @return \eZ\Publish\Core\MVC\Symfony\FieldType\RichText\Renderer|\PHPUnit_Framework_MockObject_MockObject
1403 1403
      */
@@ -1484,6 +1484,9 @@  discard block
 block discarded – undo
1484 1484
         return $this->createMock(LoggerInterface::class);
1485 1485
     }
1486 1486
 
1487
+    /**
1488
+     * @param integer $mainLocationId
1489
+     */
1487 1490
     protected function getContentMock($mainLocationId)
1488 1491
     {
1489 1492
         $contentInfoMock = $this->createMock(ContentInfo::class);
Please login to merge, or discard this patch.
Tests/EventListener/BackgroundIndexingTerminateListenerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     /**
91 91
      * @dataProvider indexingProvider
92 92
      *
93
-     * @param array|null $value
93
+     * @param array|null $values
94 94
      * @param \Psr\Log\LoggerInterface|\PHPUnit_Framework_MockObject_MockObject|null $logger
95 95
      */
96 96
     public function testIndexing(array $values = null, $logger = null)
Please login to merge, or discard this patch.
Tests/DependencyInjection/Compiler/HttpCachePassTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * @dataProvider processPurgeClientProvider
63 63
      *
64 64
      * @param string $paramValue
65
-     * @param string $expectedServiceAlias
65
+     * @param string $expectedServiceId
66 66
      * @param \Symfony\Component\DependencyInjection\Definition|null $customService
67 67
      */
68 68
     public function testProcessPurgeClient($paramValue, $expectedServiceId, Definition $customService = null)
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/DomainMapperTest.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     }
178 178
 
179 179
     /**
180
-     * @return \eZ\Publish\SPI\Persistence\Content\Handler|\PHPUnit_Framework_MockObject_MockObject
180
+     * @return \eZ\Publish\SPI\Persistence\Content\Handler
181 181
      */
182 182
     protected function getContentHandlerMock()
183 183
     {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     }
186 186
 
187 187
     /**
188
-     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler|\PHPUnit_Framework_MockObject_MockObject
188
+     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler
189 189
      */
190 190
     protected function getLanguageHandlerMock()
191 191
     {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     }
194 194
 
195 195
     /**
196
-     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler|\PHPUnit_Framework_MockObject_MockObject
196
+     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler
197 197
      */
198 198
     protected function getTypeHandlerMock()
199 199
     {
Please login to merge, or discard this 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/API/Repository/Tests/FieldType/TimeIntegrationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     /**
110 110
      * Get initial field data for valid object creation.
111 111
      *
112
-     * @return mixed
112
+     * @return TimeValue
113 113
      */
114 114
     public function getValidCreationFieldData()
115 115
     {
Please login to merge, or discard this patch.