Completed
Push — master ( 071c16...b9f390 )
by Mike
03:33
created
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.
src/phpDocumentor/Descriptor/MethodDescriptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
      * 2. if the parent is a class and implements interfaces, check each interface for a method with the exact same
248 248
      *    name. If such a method is found, return the first hit.
249 249
      *
250
-     * @return MethodDescriptor|null
250
+     * @return DescriptorAbstract|null
251 251
      */
252 252
     public function getInheritedElement()
253 253
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Transformer/Writer/Graph.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      * @param string $from_name
150 150
      * @param string|ClassDescriptor|InterfaceDescriptor|TraitDescriptor $to
151 151
      *
152
-     * @return Edge|null
152
+     * @return \self|null
153 153
      */
154 154
     protected function createEdge($graph, $from_name, $to)
155 155
     {
@@ -180,6 +180,9 @@  discard block
 block discarded – undo
180 180
         return null;
181 181
     }
182 182
 
183
+    /**
184
+     * @param string $fqcn
185
+     */
183 186
     protected function createNamespaceGraph($fqcn)
184 187
     {
185 188
         $namespaceParts = explode('\\', $fqcn);
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/ProjectDescriptorBuilder.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,12 +18,10 @@
 block discarded – undo
18 18
 use phpDocumentor\Descriptor\Builder\AssemblerFactory;
19 19
 use phpDocumentor\Descriptor\Builder\AssemblerInterface;
20 20
 use phpDocumentor\Descriptor\Builder\Reflector\AssemblerAbstract;
21
-use phpDocumentor\Descriptor\Cache\ProjectDescriptorMapper;
22 21
 use phpDocumentor\Descriptor\Filter\Filter;
23 22
 use phpDocumentor\Descriptor\Filter\Filterable;
24 23
 use phpDocumentor\Descriptor\ProjectDescriptor\Settings;
25 24
 use phpDocumentor\Reflection\Php\Project;
26
-use Psr\Log\LogLevel;
27 25
 
28 26
 /**
29 27
  * Builds a Project Descriptor and underlying tree.
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Descriptor/ProjectDescriptorBuilderTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace phpDocumentor\Descriptor;
13 13
 
14 14
 use \Mockery as m;
15
-use phpDocumentor\Descriptor\ProjectDescriptor\Settings;
16 15
 
17 16
 /**
18 17
  * Tests the functionality for the ProjectDescriptorBuilder class.
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * When a FileReflector (or mock thereof) is passed to the 'get' method this mock will return an
88 88
      * empty instance of the FileDescriptor class.
89 89
      *
90
-     * @return m\MockInterface|\phpDocumentor\Descriptor\Builder\AssemblerFactory
90
+     * @return m\LegacyMockInterface
91 91
      */
92 92
     protected function createAssemblerFactoryMock()
93 93
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Console/Command/Template/ListCommandTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      *
54 54
      * @param string[] $templateNames
55 55
      *
56
-     * @return m\MockInterface|Factory
56
+     * @return m\LegacyMockInterface
57 57
      */
58 58
     private function givenAFactoryWithTemplateNames(array $templateNames)
59 59
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Descriptor/ConstantDescriptorTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
      * @param Type $type
345 345
      * @param string $constantName
346 346
      *
347
-     * @return m\MockInterface|ClassDescriptor
347
+     * @return m\LegacyMockInterface
348 348
      */
349 349
     protected function createParentClassWithSuperClassAndConstant(Type $type, $constantName)
350 350
     {
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
     /**
375 375
      * Sets up mocks as such that the fixture has a file.
376 376
      *
377
-     * @return m\MockInterface|FileDescriptor
377
+     * @return m\LegacyMockInterface
378 378
      */
379 379
     protected function whenFixtureIsDirectlyRelatedToAFile()
380 380
     {
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
     /**
387 387
      * Sets up mocks as such that the fixture has a parent class, with a file.
388 388
      *
389
-     * @return m\MockInterface|FileDescriptor
389
+     * @return m\LegacyMockInterface
390 390
      */
391 391
     protected function whenFixtureIsRelatedToAClassWithFile()
392 392
     {
Please login to merge, or discard this patch.