Completed
Push — develop ( 3bf98d...ad187c )
by Jaap
06:26
created
tests/unit/Application/Renderer/Template/Action/CopyFileHandlerTest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -144,11 +144,11 @@
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @param $renderContext
148
-     * @param $source
149
-     * @param $destination
147
+     * @param RenderContext $renderContext
148
+     * @param string $source
149
+     * @param string $destination
150 150
      *
151
-     * @return static
151
+     * @return CopyFile
152 152
      */
153 153
     private function givenAnActionWith($renderContext, $source, $destination)
154 154
     {
Please login to merge, or discard this patch.
src/Application/Configuration/Factory/CommandlineOptionsMiddleware.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     /**
177 177
      * @param array $configuration
178 178
      *
179
-     * @return array
179
+     * @return string[]
180 180
      */
181 181
     private function overwriteDestinationFolder(array $configuration)
182 182
     {
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     }
189 189
 
190 190
     /**
191
-     * @param array $configuration
191
+     * @param string[] $configuration
192 192
      *
193 193
      * @return array
194 194
      */
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
     /**
265 265
      * @param array $configuration
266 266
      *
267
-     * @return array
267
+     * @return string[]
268 268
      */
269 269
     private function overwriteTitle(array $configuration)
270 270
     {
Please login to merge, or discard this patch.
src/Application/Bootstrap.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @throws \RuntimeException if no autoloader could be found.
90 90
      *
91
-     * @return ClassLoader
91
+     * @return boolean
92 92
      */
93 93
     public function createAutoloader($vendorDir = null)
94 94
     {
Please login to merge, or discard this patch.
src/Application/Console/Command/RunCommand.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -398,6 +398,9 @@  discard block
 block discarded – undo
398 398
         );
399 399
     }
400 400
 
401
+    /**
402
+     * @param Dsn $destination
403
+     */
401 404
     private function renderDocumentationTo($destination)
402 405
     {
403 406
         $destinationFilesystem = $this->fileSystemFactory->create($destination);
@@ -415,6 +418,9 @@  discard block
 block discarded – undo
415 418
         }
416 419
     }
417 420
 
421
+    /**
422
+     * @param Dsn $destination
423
+     */
418 424
     private function outputFooter(OutputInterface $output, $destination)
419 425
     {
420 426
         $expandedDestination = $this->getExpandedDestination($destination);
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@  discard block
 block discarded – undo
17 17
 use phpDocumentor\Application\Configuration\ConfigurationFactory;
18 18
 use phpDocumentor\DomainModel\Parse;
19 19
 use phpDocumentor\DomainModel\Dsn;
20
-use phpDocumentor\DomainModel\Parser\Documentation;
21 20
 use phpDocumentor\DomainModel\Parser\DocumentationRepository;
22 21
 use phpDocumentor\Infrastructure\FileSystemFactory;
23 22
 use phpDocumentor\Infrastructure\Parser\Documentation\Api\FlySystemDefinition;
@@ -30,11 +29,7 @@  discard block
 block discarded – undo
30 29
 use phpDocumentor\DomainModel\Renderer\RenderActionCompleted;
31 30
 use phpDocumentor\DomainModel\Renderer\RenderingFinished;
32 31
 use phpDocumentor\DomainModel\Renderer\RenderingStarted;
33
-use Stash\Driver\FileSystem;
34 32
 use Symfony\Component\Console\Command\Command;
35
-use Symfony\Component\Console\Helper\HelperInterface;
36
-use Symfony\Component\Console\Helper\ProgressBar;
37
-use Symfony\Component\Console\Input\ArrayInput;
38 33
 use Symfony\Component\Console\Input\InputArgument;
39 34
 use Symfony\Component\Console\Input\InputInterface;
40 35
 use Symfony\Component\Console\Input\InputOption;
Please login to merge, or discard this patch.