Completed
Push — develop ( 7c5440...fbdd82 )
by Mike
12s
created
src/Application/Console/Command/RunCommand.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -25,12 +25,7 @@
 block discarded – undo
25 25
 use phpDocumentor\Renderer\RenderActionCompleted;
26 26
 use phpDocumentor\Renderer\RenderingFinished;
27 27
 use phpDocumentor\Renderer\RenderingStarted;
28
-use Stash\Driver\FileSystem;
29 28
 use Symfony\Component\Console\Command\Command;
30
-use Symfony\Component\Console\Helper\HelperInterface;
31
-use Symfony\Component\Console\Helper\ProgressBar;
32
-use Symfony\Component\Console\Helper\ProgressHelper;
33
-use Symfony\Component\Console\Input\ArrayInput;
34 29
 use Symfony\Component\Console\Input\InputArgument;
35 30
 use Symfony\Component\Console\Input\InputInterface;
36 31
 use Symfony\Component\Console\Input\InputOption;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -400,9 +400,9 @@  discard block
 block discarded – undo
400 400
     }
401 401
 
402 402
     /**
403
-     * @param $definition
403
+     * @param \phpDocumentor\DomainModel\Parser\Version\Definition $definition
404 404
      *
405
-     * @return null|\phpDocumentor\DomainModel\Parser\Documentation
405
+     * @return \phpDocumentor\DomainModel\Parser\Documentation
406 406
      */
407 407
     private function parse($definition)
408 408
     {
@@ -420,8 +420,8 @@  discard block
 block discarded – undo
420 420
     }
421 421
 
422 422
     /**
423
-     * @param $documentation
424
-     * @param $destinationFilesystem
423
+     * @param \phpDocumentor\DomainModel\Parser\Documentation $documentation
424
+     * @param \League\Flysystem\Filesystem $destinationFilesystem
425 425
      * @param $templates
426 426
      */
427 427
     private function render($documentation, $destinationFilesystem, $templates)
Please login to merge, or discard this patch.
src/Application/Render.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-     * @return Filesystem
50
+     * @return string
51 51
      */
52 52
     public function getTarget()
53 53
     {
Please login to merge, or discard this patch.
src/Application/RenderHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-     * @param array $templates
95
+     * @param string[] $templates
96 96
      * @param RenderContext $renderContext
97 97
      */
98 98
     private function renderTemplates(array $templates, RenderContext $renderContext)
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -12,12 +12,9 @@  discard block
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Application;
14 14
 
15
-use League\Event\Emitter;
16 15
 use League\Event\EmitterInterface;
17 16
 use League\Flysystem\Filesystem;
18 17
 use League\Tactician\CommandBus;
19
-use phpDocumentor\Application\Configuration\ConfigurationFactory;
20
-use phpDocumentor\DomainModel\Dsn;
21 18
 use phpDocumentor\Application\Render;
22 19
 use phpDocumentor\DomainModel\Parser\Documentation;
23 20
 use phpDocumentor\DomainModel\ReadModel\ReadModels;
@@ -25,7 +22,6 @@  discard block
 block discarded – undo
25 22
 use phpDocumentor\DomainModel\Renderer\Template\Action;
26 23
 use phpDocumentor\DomainModel\Uri;
27 24
 use phpDocumentor\Infrastructure\FileSystemFactory;
28
-use phpDocumentor\DomainModel\Path;
29 25
 use phpDocumentor\DomainModel\Renderer\Template;
30 26
 use phpDocumentor\DomainModel\Renderer\TemplateFactory;
31 27
 use phpDocumentor\DomainModel\Renderer\RenderContext;
@@ -33,7 +29,6 @@  discard block
 block discarded – undo
33 29
 use phpDocumentor\DomainModel\Renderer\RenderingFinished;
34 30
 use phpDocumentor\DomainModel\Renderer\RenderingStarted;
35 31
 use phpDocumentor\Infrastructure\Renderer\FlySystemArtefacts;
36
-use phpDocumentor\Infrastructure\Renderer\FlySystemAssets;
37 32
 
38 33
 final class RenderHandler
39 34
 {
Please login to merge, or discard this patch.
tests/unit/Application/ConfigureCacheHandlerTest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -13,11 +13,7 @@
 block discarded – undo
13 13
 namespace phpDocumentor\Application;
14 14
 
15 15
 use Mockery as m;
16
-use org\bovigo\vfs\vfsStream;
17
-use phpDocumentor\Application\Configuration\ConfigurationFactory;
18
-use phpDocumentor\Application\Configuration\Factory\Strategy;
19 16
 use phpDocumentor\DomainModel\Path;
20
-use phpDocumentor\DomainModel\Uri;
21 17
 use PHPUnit_Framework_TestCase;
22 18
 use Stash\Pool;
23 19
 
Please login to merge, or discard this patch.