Completed
Push — ezp-30646 ( 7b1c39...283530 )
by
unknown
110:48 queued 88:04
created
eZ/Publish/Core/MVC/Symfony/SiteAccess/Tests/RouterURIElementTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,10 +9,9 @@
 block discarded – undo
9 9
 namespace eZ\Publish\Core\MVC\Symfony\SiteAccess\Tests;
10 10
 
11 11
 use eZ\Publish\Core\MVC\Symfony\SiteAccess;
12
-use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIElement;
12
+use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIElement as URIElementMatcher;
13 13
 use PHPUnit\Framework\TestCase;
14 14
 use eZ\Publish\Core\MVC\Symfony\SiteAccess\Router;
15
-use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIElement as URIElementMatcher;
16 15
 use eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest;
17 16
 use eZ\Publish\Core\MVC\Symfony\SiteAccess\MatcherBuilder;
18 17
 use Psr\Log\LoggerInterface;
Please login to merge, or discard this patch.
eZ/Publish/SPI/Tests/FieldType/ImageIntegrationTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -100,6 +100,9 @@
 block discarded – undo
100 100
         );
101 101
     }
102 102
 
103
+    /**
104
+     * @return DeprecationWarnerInterface
105
+     */
103 106
     public function getDeprecationWarnerMock()
104 107
     {
105 108
         if (!isset($this->deprecationWarnerMock)) {
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/Publish/Core/FieldType/Tests/FieldTypeTest.php 2 patches
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     private $fieldTypeUnderTest;
26 26
 
27 27
     /**
28
-     * @return \eZ\Publish\Core\Persistence\TransformationProcessor|\PHPUnit\Framework\MockObject\MockObject
28
+     * @return TransformationProcessor
29 29
      */
30 30
     protected function getTransformationProcessorMock()
31 31
     {
@@ -682,7 +682,6 @@  discard block
 block discarded – undo
682 682
     }
683 683
 
684 684
     /**
685
-     * @param mixed $inputValue
686 685
      * @param array $expectedResult
687 686
      *
688 687
      * @dataProvider provideInputForFromHash
@@ -830,7 +829,6 @@  discard block
 block discarded – undo
830 829
     }
831 830
 
832 831
     /**
833
-     * @param mixed $inputConfiguration
834 832
      *
835 833
      * @dataProvider provideValidFieldSettings
836 834
      */
@@ -858,7 +856,6 @@  discard block
 block discarded – undo
858 856
     }
859 857
 
860 858
     /**
861
-     * @param mixed $inputConfiguration
862 859
      *
863 860
      * @dataProvider provideValidFieldSettings
864 861
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,9 @@
 block discarded – undo
8 8
  */
9 9
 namespace eZ\Publish\Core\FieldType\Tests;
10 10
 
11
-use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition;
11
+use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition;
12 12
 use PHPUnit\Framework\TestCase;
13 13
 use Exception;
14
-use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition as APIFieldDefinition;
15 14
 use eZ\Publish\SPI\FieldType\Value as SPIValue;
16 15
 use eZ\Publish\Core\Persistence\TransformationProcessor;
17 16
 use eZ\Publish\SPI\FieldType\ValidationError;
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/RichText/RichTextStorageTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
     }
356 356
 
357 357
     /**
358
-     * @return array
358
+     * @return string[]
359 359
      */
360 360
     protected function getContext()
361 361
     {
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     protected $loggerMock;
369 369
 
370 370
     /**
371
-     * @return \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject
371
+     * @return integer
372 372
      */
373 373
     protected function getLoggerMock()
374 374
     {
Please login to merge, or discard this patch.
Core/Helper/Tests/ContentInfoLocationLoader/SudoMainLocationLoaderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @return \eZ\Publish\Core\Repository\Repository|\PHPUnit\Framework\MockObject\MockObject
101
+     * @return \eZ\Publish\API\Repository\Repository
102 102
      */
103 103
     private function getRepositoryMock()
104 104
     {
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
@@ -1396,7 +1396,7 @@  discard block
 block discarded – undo
1396 1396
     }
1397 1397
 
1398 1398
     /**
1399
-     * @param array $methods
1399
+     * @param string[] $methods
1400 1400
      *
1401 1401
      * @return \eZ\Publish\Core\MVC\Symfony\FieldType\RichText\Renderer|\PHPUnit\Framework\MockObject\MockObject
1402 1402
      */
@@ -1483,6 +1483,9 @@  discard block
 block discarded – undo
1483 1483
         return $this->createMock(LoggerInterface::class);
1484 1484
     }
1485 1485
 
1486
+    /**
1487
+     * @param integer $mainLocationId
1488
+     */
1486 1489
     protected function getContentMock($mainLocationId)
1487 1490
     {
1488 1491
         $contentInfoMock = $this->createMock(ContentInfo::class);
Please login to merge, or discard this patch.
eZ/Publish/Core/MVC/Symfony/Matcher/Tests/AbstractMatcherFactoryTest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,6 @@
 block discarded – undo
169 169
     }
170 170
 
171 171
     /**
172
-     * @param array $properties
173 172
      *
174 173
      * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\MVC\Symfony\View\ContentView
175 174
      */
Please login to merge, or discard this patch.