Completed
Push — develop ( 66de6a...7afc9d )
by Jaap
04:46 queued 03:01
created
src/phpDocumentor/Reflection/Php/Factory/Method.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\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\Stmt\ClassMethod;
24 23
 
25 24
 /**
Please login to merge, or discard this patch.
tests/component/ProjectCreationTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,8 @@
 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\File\LocalFile;
18
-use phpDocumentor\Reflection\Php\Interface_;
19 17
 use phpDocumentor\Reflection\Php\ProjectFactory;
20 18
 use phpDocumentor\Reflection\Types\Object_;
21 19
 use phpDocumentor\Reflection\Types\String_;
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Method.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
             $location = new Location(-1);
94 94
         }
95 95
 
96
-        if ($returnType ===  null) {
96
+        if ($returnType === null) {
97 97
             $returnType = new Mixed_();
98 98
         }
99 99
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Function_.php 1 patch
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\Stmt\Function_ as FunctionNode;
26 23
 
27 24
 /**
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Function_.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
             $location = new Location(-1);
94 94
         }
95 95
 
96
-        if ($returnType ===  null) {
96
+        if ($returnType === null) {
97 97
             $returnType = new Mixed_();
98 98
         }
99 99
 
Please login to merge, or discard this patch.