Completed
Pull Request — master (#19)
by David
03:23
created
src/Rules/Exceptions/EmptyExceptionRule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use PhpParser\Node;
8 8
 use PhpParser\Node\Stmt\Catch_;
9 9
 use PHPStan\Analyser\Scope;
10
-use PHPStan\Broker\Broker;
11 10
 use PHPStan\Rules\Rule;
12 11
 
13 12
 class EmptyExceptionRule implements Rule
Please login to merge, or discard this patch.
src/Rules/Exceptions/ThrowMustBundlePreviousExceptionRule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use PhpParser\NodeTraverser;
10 10
 use PhpParser\NodeVisitorAbstract;
11 11
 use PHPStan\Analyser\Scope;
12
-use PHPStan\Broker\Broker;
13 12
 use PHPStan\Rules\Rule;
14 13
 
15 14
 /**
Please login to merge, or discard this patch.
src/Rules/TypeHints/MissingTypeHintInMethodRule.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,12 +3,9 @@
 block discarded – undo
3 3
 
4 4
 namespace TheCodingMachine\PHPStan\Rules\TypeHints;
5 5
 
6
-use Roave\BetterReflection\Reflection\ReflectionFunction;
7 6
 use Roave\BetterReflection\Reflection\ReflectionFunctionAbstract;
8
-use Roave\BetterReflection\Reflection\ReflectionMethod;
9 7
 use Roave\BetterReflection\Reflection\ReflectionParameter;
10 8
 use PhpParser\Node;
11
-use PHPStan\Reflection\MethodReflection;
12 9
 
13 10
 class MissingTypeHintInMethodRule extends AbstractMissingTypeHintRule
14 11
 {
Please login to merge, or discard this patch.
src/Rules/TypeHints/AbstractMissingTypeHintRule.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@  discard block
 block discarded – undo
4 4
 namespace TheCodingMachine\PHPStan\Rules\TypeHints;
5 5
 
6 6
 
7
-use phpDocumentor\Reflection\DocBlockFactory;
8 7
 use phpDocumentor\Reflection\Type;
9 8
 use phpDocumentor\Reflection\Types\Array_;
10 9
 use phpDocumentor\Reflection\Types\Boolean;
@@ -25,8 +24,6 @@  discard block
 block discarded – undo
25 24
 use Roave\BetterReflection\Reflection\ReflectionFunction;
26 25
 use Roave\BetterReflection\Reflection\ReflectionMethod;
27 26
 use Roave\BetterReflection\Reflection\ReflectionParameter;
28
-use Roave\BetterReflection\TypesFinder\PhpDocumentor\NamespaceNodeToReflectionTypeContext;
29
-use Roave\BetterReflection\TypesFinder\ResolveTypes;
30 27
 
31 28
 abstract class AbstractMissingTypeHintRule implements Rule
32 29
 {
Please login to merge, or discard this patch.