Completed
Push — develop ( 693449...208cd4 )
by Jaap
13s
created
tests/component/ProjectNamespaceTest.php 1 patch
Unused Use Statements   -11 removed lines patch added patch discarded remove patch
@@ -14,17 +14,6 @@
 block discarded – undo
14 14
 
15 15
 use Mockery as m;
16 16
 use phpDocumentor\Reflection\File\LocalFile;
17
-use phpDocumentor\Reflection\Php\Factory\Argument;
18
-use phpDocumentor\Reflection\Php\Factory\Class_;
19
-use phpDocumentor\Reflection\Php\Factory\Constant;
20
-use phpDocumentor\Reflection\Php\Factory\DocBlock as DocBlockStrategy;
21
-use phpDocumentor\Reflection\Php\Factory\File;
22
-use phpDocumentor\Reflection\Php\NodesFactory;
23
-use phpDocumentor\Reflection\Php\Factory\Function_;
24
-use phpDocumentor\Reflection\Php\Factory\Interface_;
25
-use phpDocumentor\Reflection\Php\Factory\Method;
26
-use phpDocumentor\Reflection\Php\Factory\Property;
27
-use phpDocumentor\Reflection\Php\Factory\Trait_;
28 17
 use phpDocumentor\Reflection\Php\ProjectFactory;
29 18
 use PHPUnit\Framework\TestCase;
30 19
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Function_.php 3 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@  discard block
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Reflection\Php\Factory;
14 14
 
15
-use InvalidArgumentException;
16
-use phpDocumentor\Reflection\Fqsen;
17 15
 use phpDocumentor\Reflection\Location;
18 16
 use phpDocumentor\Reflection\Php\Factory;
19 17
 use phpDocumentor\Reflection\Php\Function_ as FunctionDescriptor;
@@ -21,7 +19,6 @@  discard block
 block discarded – undo
21 19
 use phpDocumentor\Reflection\Php\StrategyContainer;
22 20
 use phpDocumentor\Reflection\TypeResolver;
23 21
 use phpDocumentor\Reflection\Types\Context;
24
-use PhpParser\Comment\Doc;
25 22
 use PhpParser\Node\NullableType;
26 23
 use PhpParser\Node\Stmt\Function_ as FunctionNode;
27 24
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         if ($object->getReturnType() !== null) {
64 64
             $typeResolver = new TypeResolver();
65 65
             if ($object->getReturnType() instanceof NullableType) {
66
-                $typeString = '?' . $object->getReturnType()->type;
66
+                $typeString = '?'.$object->getReturnType()->type;
67 67
             } else {
68 68
                 $typeString = (string)$object->getReturnType();
69 69
             }
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-2018 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-2018 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\Factory;
14 14
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Method.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use phpDocumentor\Reflection\Php\Visibility;
20 20
 use phpDocumentor\Reflection\TypeResolver;
21 21
 use phpDocumentor\Reflection\Types\Context;
22
-use phpDocumentor\Reflection\Types\Mixed_;
23 22
 use PhpParser\Node\NullableType;
24 23
 use PhpParser\Node\Stmt\ClassMethod;
25 24
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         if ($object->getReturnType() !== null) {
64 64
             $typeResolver = new TypeResolver();
65 65
             if ($object->getReturnType() instanceof NullableType) {
66
-                $typeString = '?' . $object->getReturnType()->type;
66
+                $typeString = '?'.$object->getReturnType()->type;
67 67
             } else {
68 68
                 $typeString = (string)$object->getReturnType();
69 69
             }
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-2018 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-2018 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\Factory;
14 14
 
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Reflection/Php/Factory/Function_Test.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use phpDocumentor\Reflection\Php\Factory\Function_;
20 20
 use Mockery as m;
21 21
 use phpDocumentor\Reflection\Php\StrategyContainer;
22
-use phpDocumentor\Reflection\Types\Context;
23 22
 use phpDocumentor\Reflection\Types\Integer;
24 23
 use phpDocumentor\Reflection\Types\Nullable;
25 24
 use PhpParser\Comment\Doc;
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Reflection/Php/Factory/MethodTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use phpDocumentor\Reflection\Php\Factory;
19 19
 use Mockery as m;
20 20
 use phpDocumentor\Reflection\Php\StrategyContainer;
21
-use phpDocumentor\Reflection\Types\Context;
22 21
 use phpDocumentor\Reflection\Types\Integer;
23 22
 use phpDocumentor\Reflection\Types\Nullable;
24 23
 use PhpParser\Comment\Doc;
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/PropertyIterator.php 1 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-2018 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-2018 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\Factory;
14 14
 
Please login to merge, or discard this patch.