@@ -7,7 +7,6 @@ |
||
| 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 |
@@ -9,7 +9,6 @@ |
||
| 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 | /** |
@@ -9,10 +9,6 @@ |
||
| 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 | |
@@ -3,8 +3,6 @@ |
||
| 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; |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | |
| 6 | 6 | use PhpParser\Node; |
| 7 | 7 | use PhpParser\Node\Stmt\Switch_; |
| 8 | -use PhpParser\NodeTraverser; |
|
| 9 | -use PhpParser\NodeVisitorAbstract; |
|
| 10 | 8 | use PHPStan\Analyser\Scope; |
| 11 | 9 | use PHPStan\Rules\Rule; |
| 12 | 10 | use TheCodingMachine\PHPStan\Utils\PrefixGenerator; |
@@ -5,10 +5,7 @@ |
||
| 5 | 5 | |
| 6 | 6 | use PhpParser\Node; |
| 7 | 7 | use PHPStan\Analyser\Scope; |
| 8 | -use PHPStan\Reflection\FunctionReflection; |
|
| 9 | -use PHPStan\Reflection\MethodReflection; |
|
| 10 | 8 | use PHPStan\Rules\Rule; |
| 11 | -use PHPStan\ShouldNotHappenException; |
|
| 12 | 9 | use TheCodingMachine\PHPStan\Utils\PrefixGenerator; |
| 13 | 10 | |
| 14 | 11 | /** |
@@ -5,14 +5,8 @@ |
||
| 5 | 5 | |
| 6 | 6 | use PHPStan\Analyser\Scope; |
| 7 | 7 | use PHPStan\Broker\Broker; |
| 8 | -use PHPStan\Reflection\ParametersAcceptor; |
|
| 9 | 8 | use PHPStan\Reflection\ParametersAcceptorSelector; |
| 10 | 9 | use PHPStan\Reflection\ParametersAcceptorWithPhpDocs; |
| 11 | -use PHPStan\Reflection\Php\PhpParameterReflection; |
|
| 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 | 10 | use PhpParser\Node; |
| 17 | 11 | |
| 18 | 12 | class MissingTypeHintInFunctionRule extends AbstractMissingTypeHintRule |