Completed
Push — develop ( 8f34f3...3bf98d )
by Jaap
13:27 queued 03:31
created
tests/ReferenceImplementation.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -174,6 +174,9 @@  discard block
 block discarded – undo
174 174
     {
175 175
         const INTERFACE_CONSTANT = 'test';
176 176
 
177
+        /**
178
+         * @return SubInterface|null
179
+         */
177 180
         public function publicMethod();
178 181
     }
179 182
 
@@ -183,6 +186,10 @@  discard block
 block discarded – undo
183 186
      */
184 187
     interface AnotherSuperInterface
185 188
     {
189
+
190
+        /**
191
+         * @return void
192
+         */
186 193
         static public function staticMethod();
187 194
     }
188 195
 }
Please login to merge, or discard this patch.
src/Application/Application.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -60,6 +60,10 @@
 block discarded – undo
60 60
     }
61 61
 
62 62
     // TODO: Change this; plugins are not read from a config file provided on runtime
63
+
64
+    /**
65
+     * @param \DI\Container $container
66
+     */
63 67
     private function registerPlugins($container)
64 68
     {
65 69
         //TODO: refactor this method. Previously config was used here.
Please login to merge, or discard this patch.
src/DomainModel/Dsn.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     /**
118 118
      * Returns the path part of the DSN
119 119
      *
120
-     * @return string
120
+     * @return Path
121 121
      */
122 122
     public function getPath()
123 123
     {
Please login to merge, or discard this patch.
src/Infrastructure/Reflection/Middleware/CacheMiddleware.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -81,6 +81,7 @@
 block discarded – undo
81 81
      * Convert path to ItemName
82 82
      *
83 83
      * @param path
84
+     * @param string $path
84 85
      * @return string
85 86
      */
86 87
     private function getItemName($path)
Please login to merge, or discard this patch.
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
     }
403 403
 
404 404
     /**
405
-     * @param $definition
405
+     * @param \phpDocumentor\DomainModel\Parser\Version\Definition $definition
406 406
      *
407 407
      * @return null|\phpDocumentor\DomainModel\Parser\Documentation
408 408
      */
@@ -422,8 +422,8 @@  discard block
 block discarded – undo
422 422
     }
423 423
 
424 424
     /**
425
-     * @param $documentation
426
-     * @param $destinationFilesystem
425
+     * @param null|\phpDocumentor\DomainModel\Parser\Documentation $documentation
426
+     * @param \League\Flysystem\Filesystem $destinationFilesystem
427 427
      * @param $templates
428 428
      */
429 429
     private function render($documentation, $destinationFilesystem, $templates)
Please login to merge, or discard this patch.
src/Application/Renderer/StructureXmlRenderer.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use DomainModel\Renderer;
15 15
 use phpDocumentor\DomainModel\Path;
16
-use phpDocumentor\Application\Renderer\Template\Action;
17
-use phpDocumentor\Application\Renderer\Template\Action\Xml;
18 16
 use phpDocumentor\Application\Renderer\StructureXmlRenderer\ArgumentConverter;
19 17
 use phpDocumentor\Application\Renderer\StructureXmlRenderer\ConstantConverter;
20 18
 use phpDocumentor\Application\Renderer\StructureXmlRenderer\DocBlockConverter;
Please login to merge, or discard this patch.
src/Application/Renderer/StructureXmlRenderer/ArgumentConverter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use phpDocumentor\Descriptor\DescriptorAbstract;
16 16
 use PhpParser\Node;
17 17
 use PhpParser\PrettyPrinter\Standard;
18
-use PhpParser\PrettyPrinterTest;
19 18
 
20 19
 /**
21 20
  * Converter used to create an XML Element representing a method or function argument.
Please login to merge, or discard this patch.
src/Application/Renderer/TwigRenderer/Extension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
      * See the Class' DocBlock for a listing of functionality added by this
104 104
      * Extension.
105 105
      *
106
-     * @return \Twig_FunctionInterface[]
106
+     * @return \Twig_SimpleFunction[]
107 107
      */
108 108
     public function getFunctions()
109 109
     {
Please login to merge, or discard this patch.
src/DomainModel/Renderer/Router/Renderer.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -198,6 +198,9 @@
 block discarded – undo
198 198
         return $collection;
199 199
     }
200 200
 
201
+    /**
202
+     * @param string $presentation
203
+     */
201 204
     protected function renderLink($path, $presentation)
202 205
     {
203 206
         $url  = false;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace phpDocumentor\DomainModel\Renderer\Router;
4 4
 
5 5
 use phpDocumentor\Descriptor\Collection;
6
-use phpDocumentor\Descriptor\DescriptorAbstract;
7 6
 use phpDocumentor\Descriptor\Type\CollectionDescriptor;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.