Completed
Push — develop ( 9193e7...62056c )
by Jaap
12:45 queued 02:43
created
Validator/Constraints/Functions/AreAllArgumentsValidValidator.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -141,8 +141,6 @@
 block discarded – undo
141 141
     /**
142 142
      * Check if parameter exists for argument.
143 143
      *
144
-     * @param Collection $params
145
-     * @param Collection $arguments
146 144
      */
147 145
     protected function checkParamsExists()
148 146
     {
Please login to merge, or discard this patch.
Validator/Constraints/Functions/DoesArgumentNameMatchParamValidator.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints\Functions;
13 13
 
14
-use phpDocumentor\Descriptor\MethodDescriptor;
15
-use phpDocumentor\Descriptor\FunctionDescriptor;
16
-use phpDocumentor\Descriptor\Tag\ParamDescriptor;
17 14
 use Symfony\Component\Validator\Constraint;
18 15
 use Symfony\Component\Validator\ConstraintValidator;
19 16
 use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
Please login to merge, or discard this patch.
Validator/Constraints/Functions/DoesArgumentTypehintMatchParamValidator.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints\Functions;
13 13
 
14
-use phpDocumentor\Descriptor\MethodDescriptor;
15
-use phpDocumentor\Descriptor\FunctionDescriptor;
16 14
 use phpDocumentor\Descriptor\Tag\ParamDescriptor;
17 15
 use Symfony\Component\Validator\Constraint;
18 16
 use Symfony\Component\Validator\ConstraintValidator;
Please login to merge, or discard this patch.
Validator/Constraints/Functions/IsArgumentInDocBlockValidator.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,11 +13,8 @@
 block discarded – undo
13 13
 
14 14
 use phpDocumentor\Descriptor\ArgumentDescriptor;
15 15
 use phpDocumentor\Descriptor\Collection;
16
-use phpDocumentor\Descriptor\MethodDescriptor;
17
-use phpDocumentor\Descriptor\FunctionDescriptor;
18 16
 use Symfony\Component\Validator\Constraint;
19 17
 use Symfony\Component\Validator\ConstraintValidator;
20
-use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
21 18
 use phpDocumentor\Plugin\Core\Descriptor\Validator\ValidationValueObject;
22 19
 
23 20
 /**
Please login to merge, or discard this patch.
Plugin/Core/Descriptor/Validator/Functions/AreAllArgumentsValid.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      * @param BaseReflector     $element
112 112
      * @param Tag[]             $params   The list of param tags to validate against.
113 113
      *
114
-     * @return bool whether an issue occurred.
114
+     * @return null|Error whether an issue occurred.
115 115
      */
116 116
     protected function isArgumentInDocBlock($index, ArgumentReflector $argument, BaseReflector $element, array $params)
117 117
     {
Please login to merge, or discard this patch.
tests/ReferenceImplementation.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -174,6 +174,9 @@  discard block
 block discarded – undo
174 174
     {
175 175
         const INTERFACE_CONSTANT = 'test';
176 176
 
177
+        /**
178
+         * @return SubInterface|null
179
+         */
177 180
         public function publicMethod();
178 181
     }
179 182
 
@@ -183,6 +186,10 @@  discard block
 block discarded – undo
183 186
      */
184 187
     interface AnotherSuperInterface
185 188
     {
189
+
190
+        /**
191
+         * @return void
192
+         */
186 193
         static public function staticMethod();
187 194
     }
188 195
 }
Please login to merge, or discard this patch.
src/phpDocumentor/Configuration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     /**
157 157
      * Returns which templates and custom transformations need to be applied to the parsed data.
158 158
      *
159
-     * @return Transformer\Configuration\Transformations
159
+     * @return Transformations[]
160 160
      */
161 161
     public function getTransformations()
162 162
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/ArgumentDescriptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      *
118 118
      * @param boolean $isVariadic
119 119
      *
120
-     * @return false
120
+     * @return false|null
121 121
      */
122 122
     public function setVariadic($isVariadic)
123 123
     {
Please login to merge, or discard this patch.
phpDocumentor/Descriptor/Builder/Reflector/Tags/TypeCollectionAssembler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
      *
111 111
      * @param string $type
112 112
      *
113
-     * @return string|boolean
113
+     * @return string|false
114 114
      */
115 115
     protected function findClassNameForType($type)
116 116
     {
Please login to merge, or discard this patch.