Completed
Push — master ( 071c16...b9f390 )
by Mike
03:33
created
tests/unit/phpDocumentor/Descriptor/PropertyDescriptorTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
     /**
392 392
      * Sets up mocks as such that the fixture has a file.
393 393
      *
394
-     * @return m\MockInterface|FileDescriptor
394
+     * @return m\LegacyMockInterface
395 395
      */
396 396
     protected function whenFixtureIsDirectlyRelatedToAFile()
397 397
     {
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
     /**
404 404
      * Sets up mocks as such that the fixture has a parent class, with a file.
405 405
      *
406
-     * @return m\MockInterface|FileDescriptor
406
+     * @return m\LegacyMockInterface
407 407
      */
408 408
     protected function whenFixtureIsRelatedToAClassWithFile()
409 409
     {
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/Tags/SeeAssemblerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
         $this->assertSame([], $descriptor->getErrors()->getAll());
86 86
     }
87 87
 
88
+    /**
89
+     * @param string $description
90
+     */
88 91
     protected function givenASeeTag($reference, $description) : \phpDocumentor\Reflection\DocBlock\Tags\See
89 92
     {
90 93
         return new DocBlock\Tags\See(
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/Tags/UsesAssemblerTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -63,6 +63,10 @@
 block discarded – undo
63 63
         $this->assertSame([], $descriptor->getErrors()->getAll());
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $description
68
+     * @param string $reference
69
+     */
66 70
     protected function givenAUsesTag($description, $reference) : Uses
67 71
     {
68 72
         return new Uses(
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/Interfaces/ChildInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -34,6 +34,7 @@
 block discarded – undo
34 34
      * Sets the parent for this Descriptor.
35 35
      *
36 36
      * @param ?DescriptorAbstract $parent
37
+     * @return void
37 38
      */
38 39
     public function setParent($parent);
39 40
 }
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Compiler/Linker/LinkerTest.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 Mockery as m;
15 15
 use Mockery\Adapter\Phpunit\MockeryTestCase;
16 16
 use phpDocumentor\Descriptor\ClassDescriptor;
17
-use phpDocumentor\Descriptor\Collection;
18 17
 use phpDocumentor\Descriptor\Collection as DescriptorCollection;
19 18
 use phpDocumentor\Descriptor\DescriptorAbstract;
20 19
 use phpDocumentor\Descriptor\MethodDescriptor;
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTagsTest.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     /**
147 147
      * Returns a mocked Project Descriptor.
148 148
      *
149
-     * @param Collection|MockInterface $descriptors
149
+     * @param m\LegacyMockInterface $descriptors
150 150
      *
151 151
      * @return MockInterface
152 152
      */
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * Returns the descriptor of the element that the link points to
163 163
      *
164
-     * @return DescriptorAbstract|MockInterface
164
+     * @return m\LegacyMockInterface
165 165
      */
166 166
     private function givenAnElementToLinkTo()
167 167
     {
@@ -178,9 +178,9 @@  discard block
 block discarded – undo
178 178
     /**
179 179
      * Returns a collection with descriptor. This collection will be scanned to see if a link can be made to a file.
180 180
      *
181
-     * @param DescriptorAbstract|MockInterface $descriptor
181
+     * @param MockInterface $descriptor
182 182
      *
183
-     * @return Collection|MockInterface
183
+     * @return m\LegacyMockInterface
184 184
      */
185 185
     private function givenACollection($descriptor)
186 186
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use phpDocumentor\Descriptor\Collection;
19 19
 use phpDocumentor\Descriptor\DescriptorAbstract;
20 20
 use phpDocumentor\Descriptor\ProjectDescriptor;
21
-use phpDocumentor\Transformer\Router\Rule;
22 21
 use phpDocumentor\Transformer\Router\Router;
23 22
 
24 23
 /**
Please login to merge, or discard this patch.
tests/features/bootstrap/EnvironmentContext.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 namespace phpDocumentor\Behat\Contexts;
14 14
 
15 15
 use Behat\Behat\Context;
16
-use Behat\Behat\Tester\Exception\PendingException;
17 16
 use FilesystemIterator;
18 17
 use RecursiveDirectoryIterator;
19 18
 use RecursiveIteratorIterator;
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Descriptor/Cache/ProjectDescriptorMapperTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Descriptor\Cache;
14 14
 
15
-use Mockery as m;
16 15
 use phpDocumentor\Descriptor\FileDescriptor;
17 16
 use phpDocumentor\Descriptor\ProjectDescriptor;
18
-use Stash\Driver\Ephemeral;
19 17
 use Stash\Pool;
20 18
 use Symfony\Component\Cache\Adapter\FilesystemAdapter;
21 19
 
Please login to merge, or discard this patch.