Completed
Push — ezp-30882-thumbnail ( c2bd81...097891 )
by
unknown
13:37
created
Command/LegacyStorage/RegenerateUrlAliasesCommand.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -893,6 +893,7 @@
 block discarded – undo
893 893
      * Returns total number of Locations in the database.
894 894
      *
895 895
      * The number excludes absolute root Location, which does not have an URL alias.
896
+     * @return integer
896 897
      */
897 898
     protected function getTotalLocationCount()
898 899
     {
Please login to merge, or discard this patch.
Command/LegacyStorage/CleanUpRelationTypeEqZeroCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@
 block discarded – undo
109 109
         $conn->exec('DELETE FROM ezcontentobject_link WHERE relation_type = 0');
110 110
     }
111 111
 
112
+    /**
113
+     * @param integer $totalCount
114
+     */
112 115
     protected function executeList(OutputInterface $output, $totalCount)
113 116
     {
114 117
         $table = new Table($output);
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/Bundle/EzPublishCoreBundle/EventListener/ConfigScopeListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * Sets the complete list of view providers.
68 68
      *
69
-     * @param array $viewProviders
69
+     * @param \PHPUnit\Framework\MockObject\MockObject $viewProviders
70 70
      */
71 71
     public function setViewProviders(array $viewProviders)
72 72
     {
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
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * @dataProvider indexingProvider
88 88
      *
89
-     * @param array|null $value
89
+     * @param array|null $values
90 90
      * @param \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject|null $logger
91 91
      */
92 92
     public function testIndexing(array $values = null, $logger = null)
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishIOBundle/DependencyInjection/Configuration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
 
61 61
     /**
62 62
      * @param NodeDefinition $node
63
-     * @param                $name
63
+     * @param                string $name
64 64
      * @param string $info block info line
65
-     * @param ConfigurationFactory[]|ArrayObject $factories
65
+     * @param ArrayObject $factories
66 66
      */
67 67
     private function addHandlersSection(NodeDefinition $node, $name, $info, ArrayObject $factories)
68 68
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Tests/Routing/DefaultRouterTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @param array $mockedMethods
54
+     * @param string[] $mockedMethods
55 55
      *
56 56
      * @return \PHPUnit\Framework\MockObject\MockObject|DefaultRouter
57 57
      */
@@ -318,6 +318,9 @@  discard block
 block discarded – undo
318 318
         ];
319 319
     }
320 320
 
321
+    /**
322
+     * @param string $uri
323
+     */
321 324
     private function getExpectedRequestContext($uri)
322 325
     {
323 326
         $requestContext = new RequestContext();
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.