Completed
Push — develop ( 8eb671...133594 )
by Mike
19:30 queued 09:24
created
tests/ReferenceImplementation.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -163,6 +163,9 @@  discard block
 block discarded – undo
163 163
     {
164 164
         const INTERFACE_CONSTANT = 'test';
165 165
 
166
+        /**
167
+         * @return SubInterface|null
168
+         */
166 169
         public function publicMethod();
167 170
     }
168 171
 
@@ -172,6 +175,10 @@  discard block
 block discarded – undo
172 175
      */
173 176
     interface AnotherSuperInterface
174 177
     {
178
+
179
+        /**
180
+         * @return void
181
+         */
175 182
         public static function staticMethod();
176 183
     }
177 184
 }
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Descriptor/Builder/Reflector/FileAssemblerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Mockery as m;
17 17
 use phpDocumentor\Descriptor\Collection;
18 18
 use phpDocumentor\Descriptor\PackageDescriptor;
19
-
20 19
 use phpDocumentor\Reflection\DocBlock;
21 20
 use phpDocumentor\Reflection\Php\File;
22 21
 
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/PropertyAssemblerTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -88,6 +88,7 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Generates a DocBlock object with applicable defaults for these tests.
91
+     * @param boolean $withTags
91 92
      */
92 93
     protected function givenADocBlockObject($withTags): DocBlock
93 94
     {
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/MethodAssemblerTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -88,6 +88,7 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Generates a DocBlock object with applicable defaults for these tests.
91
+     * @param boolean $withTags
91 92
      */
92 93
     protected function givenADocBlockObject($withTags): DocBlock
93 94
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTags.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
      * If a relative QSEN is provided then this method will attempt to resolve it given the current namespace and
172 172
      * namespace aliases.
173 173
      *
174
-     * @param Fqsen|string $link
174
+     * @param string|null $link
175 175
      * @return Fqsen|string
176 176
      */
177 177
     private function resolveQsen($link)
@@ -188,6 +188,7 @@  discard block
 block discarded – undo
188 188
      * be matched.
189 189
      *
190 190
      * @param Fqsen|string $link
191
+     * @param string $description
191 192
      */
192 193
     private function resolveElement(DescriptorAbstract $element, $link, ?string $description = null): string
193 194
     {
@@ -247,7 +248,7 @@  discard block
 block discarded – undo
247 248
     /**
248 249
      * Generates a Markdown-formatted string representing a link with a description.
249 250
      *
250
-     * @param Fqsen|string $link
251
+     * @param string|null $link
251 252
      */
252 253
     private function generateMarkdownLink($link, string $description): string
253 254
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Configuration/ConfigurationFactoryTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -116,6 +116,9 @@  discard block
 block discarded – undo
116 116
         new ConfigurationFactory(['this_is_not_a_strategy'], []);
117 117
     }
118 118
 
119
+    /**
120
+     * @param string $content
121
+     */
119 122
     private function givenExampleConfigurationFileWithContent($content): string
120 123
     {
121 124
         vfsStream::newFile('foo.xml')
@@ -125,6 +128,10 @@  discard block
 block discarded – undo
125 128
         return vfsStream::url('dir/foo.xml');
126 129
     }
127 130
 
131
+    /**
132
+     * @param string[] $expectedInputValue
133
+     * @param string[] $returnValue
134
+     */
128 135
     private function givenAMiddlewareThatReturns($expectedInputValue, $returnValue): \Closure
129 136
     {
130 137
         return function ($value) use ($expectedInputValue, $returnValue) {
@@ -134,6 +141,9 @@  discard block
 block discarded – undo
134 141
         };
135 142
     }
136 143
 
144
+    /**
145
+     * @param string[] $result
146
+     */
137 147
     private function givenAValidStrategyThatReturns($result): Strategy
138 148
     {
139 149
         /** @var m\Mock $strategy */
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/Builder/Reflector/Tags/ReturnAssembler.php 1 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\Builder\Reflector\AssemblerAbstract;
19 19
 use phpDocumentor\Descriptor\Tag\ReturnDescriptor;
20 20
 use phpDocumentor\Reflection\DocBlock\Tags\Return_;
21
-use phpDocumentor\Reflection\Types\Compound;
22 21
 
23 22
 /**
24 23
  * Constructs a new descriptor from the Reflector for an `@return` tag.
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/Interfaces/ArgumentInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@  discard block
 block discarded – undo
38 38
      *     type.
39 39
      *
40 40
      * @todo update link to point to the final destination for the PHPDoc Standard.
41
+     * @return void
41 42
      */
42 43
     public function setType(?Type $type);
43 44
 
@@ -54,6 +55,7 @@  discard block
 block discarded – undo
54 55
      * Sets the default value for an argument expressed as a string.
55 56
      *
56 57
      * @param string $value A textual representation of the default value.
58
+     * @return void
57 59
      */
58 60
     public function setDefault($value);
59 61
 
@@ -68,6 +70,7 @@  discard block
 block discarded – undo
68 70
      * Sets whether this argument passes its parameter by reference or by value.
69 71
      *
70 72
      * @param boolean $byReference True if the parameter is passed by reference, otherwise it is by value.
73
+     * @return void
71 74
      */
72 75
     public function setByReference($byReference);
73 76
 
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/Builder/Reflector/Tags/ExampleAssembler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use InvalidArgumentException;
19 19
 use phpDocumentor\Descriptor\Builder\Reflector\AssemblerAbstract;
20
-use phpDocumentor\Descriptor\Example\Finder;
21 20
 use phpDocumentor\Descriptor\Tag\ExampleDescriptor;
22 21
 use phpDocumentor\Reflection\DocBlock\ExampleFinder;
23 22
 use phpDocumentor\Reflection\DocBlock\Tags\Example;
Please login to merge, or discard this patch.