Completed
Push — develop ( 4b49c4...89d32a )
by Jaap
09:06 queued 05:30
created
unit/phpDocumentor/Descriptor/Builder/Reflector/PropertyAssemblerTest.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -192,6 +192,7 @@
 block discarded – undo
192 192
     /**
193 193
      * Generates a DocBlock object with applicable defaults for these tests.
194 194
      *
195
+     * @param boolean $withTags
195 196
      * @return DocBlock|m\MockInterface
196 197
      */
197 198
     protected function givenADocBlockObject($withTags)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 use phpDocumentor\Descriptor\ProjectDescriptorBuilder;
16 16
 use phpDocumentor\Reflection\DocBlock;
17
-use phpDocumentor\Reflection\ClassReflector\PropertyReflector;
18 17
 use Mockery as m;
19 18
 use phpDocumentor\Reflection\DocBlock\Description;
20 19
 use phpDocumentor\Reflection\Fqsen;
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/FunctionAssemblerTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * @param string $namespace
103 103
      * @param string $functionName
104 104
      * @param Argument $argumentMock
105
-     * @param DocBlock|m\MockInterface $docBlockMock
105
+     * @param DocBlock $docBlockMock
106 106
      *
107 107
      * @return Function_
108 108
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use phpDocumentor\Reflection\DocBlock;
20 20
 use Mockery as m;
21 21
 use phpDocumentor\Reflection\Fqsen;
22
-use phpDocumentor\Reflection\FunctionReflector;
23 22
 use phpDocumentor\Reflection\Php\Argument;
24 23
 use phpDocumentor\Reflection\Php\Function_;
25 24
 
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/Builder/Reflector/Tags/UsesAssembler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace phpDocumentor\Descriptor\Builder\Reflector\Tags;
13 13
 
14
-use phpDocumentor\Compiler\Linker\Linker;
15 14
 use phpDocumentor\Descriptor\Builder\Reflector\AssemblerAbstract;
16 15
 use phpDocumentor\Descriptor\Tag\UsesDescriptor;
17
-use phpDocumentor\Reflection\DocBlock\Context;
18 16
 use phpDocumentor\Reflection\DocBlock\Tags\Uses;
19 17
 
20 18
 class UsesAssembler extends AssemblerAbstract
Please login to merge, or discard this patch.
src/phpDocumentor/Parser/Command/Project/ParseCommand.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
      *
366 366
      * @param InputInterface $input
367 367
      *
368
-     * @return \Symfony\Component\Console\Helper\HelperInterface|null
368
+     * @return null|ProgressHelper
369 369
      */
370 370
     protected function getProgressBar(InputInterface $input)
371 371
     {
@@ -393,6 +393,10 @@  discard block
 block discarded – undo
393 393
      * @return string
394 394
      */
395 395
     // @codingStandardsIgnoreStart
396
+
397
+    /**
398
+     * @param string $text
399
+     */
396 400
     protected function __($text, $parameters = array())
397 401
     {
398 402
         // @codingStandardsIgnoreEnd
Please login to merge, or discard this patch.
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -11,20 +11,13 @@
 block discarded – undo
11 11
 
12 12
 namespace phpDocumentor\Parser\Command\Project;
13 13
 
14
-use League\Flysystem\MountManager;
15 14
 use phpDocumentor\Command\Command;
16 15
 use phpDocumentor\Command\Helper\ConfigurationHelper;
17 16
 use phpDocumentor\Descriptor\Cache\ProjectDescriptorMapper;
18
-use phpDocumentor\Descriptor\Example\Finder;
19 17
 use phpDocumentor\Descriptor\ProjectDescriptor;
20 18
 use phpDocumentor\Descriptor\ProjectDescriptorBuilder;
21 19
 use phpDocumentor\DomainModel\Dsn;
22 20
 use phpDocumentor\DomainModel\Parser\FileCollector;
23
-use phpDocumentor\Event\Dispatcher;
24
-use phpDocumentor\Fileset\Collection;
25
-use phpDocumentor\Infrastructure\FlySystemFactory;
26
-use phpDocumentor\Infrastructure\Parser\FlySystemFile;
27
-use phpDocumentor\Infrastructure\Parser\SpecificationFactory;
28 21
 use phpDocumentor\Parser\Event\PreFileEvent;
29 22
 use phpDocumentor\Parser\Exception\FilesNotFoundException;
30 23
 use phpDocumentor\Parser\Middleware\CacheMiddleware;
Please login to merge, or discard this patch.
src/phpDocumentor/Plugin/Graphs/Writer/Graph.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -182,6 +182,9 @@
 block discarded – undo
182 182
         return null;
183 183
     }
184 184
 
185
+    /**
186
+     * @param string $fqcn
187
+     */
185 188
     protected function createNamespaceGraph($fqcn)
186 189
     {
187 190
         $namespaceParts = explode('\\', $fqcn);
Please login to merge, or discard this patch.
src/phpDocumentor/Transformer/Command/Project/TransformCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@
 block discarded – undo
340 340
      *
341 341
      * @param InputInterface $input
342 342
      *
343
-     * @return HelperInterface|null
343
+     * @return null|ProgressHelper
344 344
      */
345 345
     protected function getProgressBar(InputInterface $input)
346 346
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 use Symfony\Component\Console\Output\OutputInterface;
32 32
 use Symfony\Component\Filesystem\Filesystem;
33 33
 use Zend\Cache\Storage\StorageInterface;
34
-use Zend\Stdlib\AbstractOptions;
35 34
 
36 35
 /**
37 36
  * Transforms the structure file into the specified output format
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/BootstrapTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use org\bovigo\vfs\vfsStream;
14 14
 use org\bovigo\vfs\vfsStreamDirectory;
15
-use PHPUnit\Framework\TestCase;
16 15
 
17 16
 /**
18 17
  * Test class for \phpDocumentor\Bootstrap.
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTagsTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     /**
218 218
      * Returns a collection with descriptor. This collection will be scanned to see if a link can be made to a file.
219 219
      *
220
-     * @param DescriptorAbstract|m\MockInterface $descriptor
220
+     * @param m\MockInterface $descriptor
221 221
      *
222 222
      * @return Collection|m\MockInterface
223 223
      */
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      * @param m\MockInterface $descriptor
252 252
      * @param DescriptorAbstract $elementToLinkTo
253 253
      *
254
-     * @return DescriptorAbstract
254
+     * @return m\MockInterface
255 255
      */
256 256
     private function whenDescriptionContainsSeeOrLinkWithElement($descriptor, $elementToLinkTo)
257 257
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Plugin/Core/Transformer/Writer/StatisticsTest.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-     * @param array $errors
108
+     * @param m\MockInterface[] $errors
109 109
      * @param int   $markerCount
110 110
      * @return m\MockInterface
111 111
      */
@@ -138,6 +138,13 @@  discard block
 block discarded – undo
138 138
         return $error;
139 139
     }
140 140
 
141
+    /**
142
+     * @param string $date
143
+     * @param integer $numberOfFiles
144
+     * @param integer $numberOfDeprecated
145
+     * @param integer $numberOfErrors
146
+     * @param integer $numberOfMarkers
147
+     */
141 148
     private function thenTheXmlReportShouldContain(
142 149
         $date,
143 150
         $numberOfFiles,
Please login to merge, or discard this patch.