Completed
Push — master ( 861170...663fad )
by David
01:45
created
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   -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,6 @@
 block discarded – undo
9 9
 use PHPStan\Reflection\ParametersAcceptorSelector;
10 10
 use PHPStan\Reflection\ParametersAcceptorWithPhpDocs;
11 11
 use PHPStan\Reflection\Php\PhpMethodReflection;
12
-use Roave\BetterReflection\Reflection\ReflectionFunction;
13
-use Roave\BetterReflection\Reflection\ReflectionFunctionAbstract;
14
-use Roave\BetterReflection\Reflection\ReflectionMethod;
15
-use Roave\BetterReflection\Reflection\ReflectionParameter;
16 12
 use PhpParser\Node;
17 13
 use PHPStan\Reflection\MethodReflection;
18 14
 
Please login to merge, or discard this patch.
src/Rules/TypeHints/AbstractMissingTypeHintRule.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 
4 4
 namespace TheCodingMachine\PHPStan\Rules\TypeHints;
5 5
 
6
-use PHPStan\Reflection\Php\PhpFunctionReflection;
7
-use PHPStan\Reflection\Php\PhpMethodReflection;
8 6
 use PHPStan\Type\ArrayType;
9 7
 use PHPStan\Type\BooleanType;
10 8
 use PHPStan\Type\CallableType;
Please login to merge, or discard this patch.
src/Rules/TypeHints/FunctionDebugContext.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,11 +5,9 @@
 block discarded – undo
5 5
 
6 6
 
7 7
 use PhpParser\Node\FunctionLike;
8
-use PhpParser\Node\Name;
9 8
 use PhpParser\Node\Stmt\ClassMethod;
10 9
 use PhpParser\Node\Stmt\Function_;
11 10
 use PHPStan\Analyser\Scope;
12
-use PHPStan\Reflection\Php\PhpParameterReflection;
13 11
 
14 12
 class FunctionDebugContext implements DebugContextInterface
15 13
 {
Please login to merge, or discard this patch.
src/Rules/TypeHints/ParameterDebugContext.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 
6 6
 
7 7
 use PhpParser\Node\FunctionLike;
8
-use PhpParser\Node\Name;
9 8
 use PhpParser\Node\Stmt\ClassMethod;
10 9
 use PhpParser\Node\Stmt\Function_;
11 10
 use PHPStan\Analyser\Scope;
Please login to merge, or discard this patch.
src/Rules/Exceptions/MustRethrowRule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use PhpParser\NodeTraverser;
11 11
 use PhpParser\NodeVisitorAbstract;
12 12
 use PHPStan\Analyser\Scope;
13
-use PHPStan\Broker\Broker;
14 13
 use PHPStan\Rules\Rule;
15 14
 use RuntimeException;
16 15
 use TheCodingMachine\PHPStan\Utils\PrefixGenerator;
Please login to merge, or discard this patch.
src/Rules/Exceptions/EmptyExceptionRule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use PhpParser\Node;
7 7
 use PhpParser\Node\Stmt\Catch_;
8 8
 use PHPStan\Analyser\Scope;
9
-use PHPStan\Broker\Broker;
10 9
 use PHPStan\Rules\Rule;
11 10
 use function strpos;
12 11
 
Please login to merge, or discard this patch.