Completed
Push — develop ( 904dd0...7938f1 )
by Jaap
02:53
created
src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     /**
121 121
      * Builds the name of the current node using the parts that are pushed to the parts list.
122 122
      *
123
-     * @return null|string
123
+     * @return string
124 124
      */
125 125
     private function buildName()
126 126
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use phpDocumentor\Reflection\Fqsen;
17 17
 use PhpParser\Node;
18 18
 use PhpParser\Node\Const_;
19
-use PhpParser\Node\Name;
20 19
 use PhpParser\Node\Stmt\Class_;
21 20
 use PhpParser\Node\Stmt\ClassConst;
22 21
 use PhpParser\Node\Stmt\ClassMethod;
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of phpDocumentor.
4
- *
5
- * For the full copyright and license information, please view the LICENSE
6
- * file that was distributed with this source code.
7
- *
8
- * @copyright 2010-2015 Mike van Riel<[email protected]>
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * This file is part of phpDocumentor.
4
+     *
5
+     * For the full copyright and license information, please view the LICENSE
6
+     * file that was distributed with this source code.
7
+     *
8
+     * @copyright 2010-2015 Mike van Riel<[email protected]>
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\Php;
14 14
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Class_.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     /**
98 98
      * Returns the superclass this class is extending if available.
99 99
      *
100
-     * @return NUll|Fqsen
100
+     * @return Class_
101 101
      */
102 102
     public function getParent()
103 103
     {
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of phpDocumentor.
4
- *
5
- * For the full copyright and license information, please view the LICENSE
6
- * file that was distributed with this source code.
7
- *
8
- * @copyright 2010-2015 Mike van Riel<[email protected]>
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * This file is part of phpDocumentor.
4
+     *
5
+     * For the full copyright and license information, please view the LICENSE
6
+     * file that was distributed with this source code.
7
+     *
8
+     * @copyright 2010-2015 Mike van Riel<[email protected]>
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\Php;
14 14
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/ClassConstantIterator.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@  discard block
 block discarded – undo
87 87
         return $docComment;
88 88
     }
89 89
 
90
+    /**
91
+     * @return \PhpParser\Node\Expr
92
+     */
90 93
     public function getValue()
91 94
     {
92 95
         return $this->classConstants->consts[$this->index]->value;
@@ -96,7 +99,7 @@  discard block
 block discarded – undo
96 99
      * (PHP 5 &gt;= 5.0.0)<br/>
97 100
      * Return the current element
98 101
      * @link http://php.net/manual/en/iterator.current.php
99
-     * @return mixed Can return any type.
102
+     * @return ClassConstantIterator Can return any type.
100 103
      */
101 104
     public function current()
102 105
     {
@@ -118,7 +121,7 @@  discard block
 block discarded – undo
118 121
      * (PHP 5 &gt;= 5.0.0)<br/>
119 122
      * Return the key of the current element
120 123
      * @link http://php.net/manual/en/iterator.key.php
121
-     * @return mixed scalar on success, or null on failure.
124
+     * @return integer scalar on success, or null on failure.
122 125
      */
123 126
     public function key()
124 127
     {
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of phpDocumentor.
4
- *
5
- * For the full copyright and license information, please view the LICENSE
6
- * file that was distributed with this source code.
7
- *
8
- * @copyright 2010-2015 Mike van Riel<[email protected]>
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * This file is part of phpDocumentor.
4
+     *
5
+     * For the full copyright and license information, please view the LICENSE
6
+     * file that was distributed with this source code.
7
+     *
8
+     * @copyright 2010-2015 Mike van Riel<[email protected]>
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\Php;
14 14
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/ProjectFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
      * Gets Namespace from the project if it exists, otherwise returns a new namepace
104 104
      *
105 105
      * @param Project $project
106
-     * @param $name
106
+     * @param string $name
107 107
      * @return Namespace_
108 108
      */
109 109
     private function getNamespaceByName(Project $project, $name)
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of phpDocumentor.
4
- *
5
- * For the full copyright and license information, please view the LICENSE
6
- * file that was distributed with this source code.
7
- *
8
- * @copyright 2010-2015 Mike van Riel<[email protected]>
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * This file is part of phpDocumentor.
4
+     *
5
+     * For the full copyright and license information, please view the LICENSE
6
+     * file that was distributed with this source code.
7
+     *
8
+     * @copyright 2010-2015 Mike van Riel<[email protected]>
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\Php;
14 14
 
Please login to merge, or discard this patch.
tests/component/ProjectCreationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Reflection;
14 14
 
15
-use Mockery as m;
16 15
 use phpDocumentor\Reflection\DocBlock\Tags\Param;
17 16
 use phpDocumentor\Reflection\Php\ProjectFactory;
18 17
 use phpDocumentor\Reflection\Types\Object_;
Please login to merge, or discard this patch.
tests/component/ProjectNamespaceTest.php 1 patch
Unused Use Statements   -12 removed lines patch added patch discarded remove patch
@@ -12,18 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Reflection;
14 14
 
15
-use Mockery as m;
16
-use phpDocumentor\Reflection\Php\Factory\Argument;
17
-use phpDocumentor\Reflection\Php\Factory\Class_;
18
-use phpDocumentor\Reflection\Php\Factory\Constant;
19
-use phpDocumentor\Reflection\Php\Factory\DocBlock as DocBlockStrategy;
20
-use phpDocumentor\Reflection\Php\Factory\File;
21
-use phpDocumentor\Reflection\Php\NodesFactory;
22
-use phpDocumentor\Reflection\Php\Factory\Function_;
23
-use phpDocumentor\Reflection\Php\Factory\Interface_;
24
-use phpDocumentor\Reflection\Php\Factory\Method;
25
-use phpDocumentor\Reflection\Php\Factory\Property;
26
-use phpDocumentor\Reflection\Php\Factory\Trait_;
27 15
 use phpDocumentor\Reflection\Php\ProjectFactory;
28 16
 
29 17
 /**
Please login to merge, or discard this patch.
tests/example.file.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,6 @@
 block discarded – undo
99 99
         /**
100 100
          * Calculates the price for this specific component.
101 101
          *
102
-         * @param float[] $...additionalPrices Additional costs may be passed
103 102
          *
104 103
          * @return float
105 104
          */
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Reflection/Php/Factory/Class_Test.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@
 block discarded – undo
257 257
 
258 258
 
259 259
     /**
260
-     * @return m\MockInterface|ClassNode
260
+     * @return m\MockInterface
261 261
      */
262 262
     private function buildClassMock()
263 263
     {
Please login to merge, or discard this patch.
unit/phpDocumentor/Reflection/Php/Factory/ClassConstantIteratorTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,6 @@
 block discarded – undo
18 18
 use PhpParser\Node\Const_;
19 19
 use PhpParser\Node\Expr\Variable;
20 20
 use PhpParser\Node\Stmt\ClassConst;
21
-use PhpParser\Node\Stmt\Property as PropertyNode;
22
-use PhpParser\Node\Stmt\PropertyProperty;
23 21
 
24 22
 /**
25 23
  * Class PropertyIteratorTest
Please login to merge, or discard this patch.