Completed
Push — develop ( fbdd82...317691 )
by Mike
09:29
created
tests/unit/DomainModel/Parser/Documentation/Api/ApiTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      *
90 90
      * @param Fqsen $fqsen
91 91
      *
92
-     * @return m\MockInterface|Element
92
+     * @return m\MockInterface
93 93
      */
94 94
     private function givenAnElementWithFqsen($fqsen)
95 95
     {
Please login to merge, or discard this patch.
DomainModel/Parser/Documentation/Api/DocumentGroupDefinitionFactoryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 namespace phpDocumentor\ApiReference;
14 14
 
15 15
 use Flyfinder\Specification\SpecificationInterface;
16
-use League\Flysystem\Filesystem;
17 16
 use Mockery as m;
18 17
 use phpDocumentor\DocumentGroupFormat;
19 18
 use phpDocumentor\FileSystemFactory;
Please login to merge, or discard this patch.
tests/unit/DomainModel/Renderer/Router/QueueTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      * @param string $nodeName
67 67
      * @param mixed  $returns
68 68
      *
69
-     * @return m\MockInterface|RouterAbstract
69
+     * @return m\MockInterface
70 70
      */
71 71
     protected function givenARouterMatchingNodeWithResult($nodeName, $returns)
72 72
     {
Please login to merge, or discard this patch.
src/Application/ContainerDefinitions.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,6 @@
 block discarded – undo
54 54
 use phpDocumentor\Application\Renderer\Router\StandardRouter;
55 55
 use phpDocumentor\Infrastructure\SpecificationFactory;
56 56
 use phpDocumentor\DomainModel\Uri;
57
-use phpDocumentor\Application\ReadModel;
58 57
 use phpDocumentor\Application\ReadModel\FromContainerFactory;
59 58
 use phpDocumentor\Application\ReadModel\Mappers\Project;
60 59
 use Stash\Driver\FileSystem;
Please login to merge, or discard this patch.
src/Application/Parser/Documentation/Api/FromReflectionFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use phpDocumentor\DomainModel\Parser\Documentation\DocumentGroup\Definition as DocumentGroupDefinitionInterface;
22 22
 use phpDocumentor\DomainModel\Parser\Documentation\DocumentGroupFactory;
23 23
 use phpDocumentor\Reflection\ProjectFactory;
24
-use phpDocumentor\Reflection\Php\Factory\File;
25 24
 
26 25
 final class FromReflectionFactory implements DocumentGroupFactory
27 26
 {
Please login to merge, or discard this patch.
src/Infrastructure/Parser/SpecificationFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
     /**
31 31
      * Creates a SpecificationInterface object based on the ignore and extension parameters.
32 32
      *
33
-     * @param array $paths
33
+     * @param string[] $paths
34 34
      * @param array $ignore
35
-     * @param array $extensions
35
+     * @param string[] $extensions
36 36
      * @return SpecificationInterface
37 37
      */
38 38
     public function create(array $paths, array $ignore, array $extensions)
Please login to merge, or discard this patch.
src/Infrastructure/Renderer/XmlTemplateFactory.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
         return $this->create($renderPass, $template);
97 97
     }
98 98
 
99
+    /**
100
+     * @param string $path
101
+     */
99 102
     private function readFromXml($path)
100 103
     {
101 104
         if (isset($this->templateTemplates[$path])) {
@@ -256,7 +259,7 @@  discard block
 block discarded – undo
256 259
      * for this specific action.
257 260
      *
258 261
      * @param Template $template
259
-     * @param string[]|string[][] $action
262
+     * @param string[] $action
260 263
      *
261 264
      * @throws \InvalidArgumentException if one of the parameters is not a valid array
262 265
      * @throws \InvalidArgumentException if one of the parameters does not contain the 'key' element
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.