@@ -25,12 +25,7 @@ |
||
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; |
@@ -400,9 +400,9 @@ discard block |
||
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 |
||
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) |
@@ -47,7 +47,7 @@ |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * @return Filesystem |
|
50 | + * @return string |
|
51 | 51 | */ |
52 | 52 | public function getTarget() |
53 | 53 | { |
@@ -92,7 +92,7 @@ |
||
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) |
@@ -12,12 +12,9 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -13,11 +13,7 @@ |
||
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 |