mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Remove unused imports
This commit is contained in:
parent
4e609917ee
commit
3df218148d
@ -10,7 +10,6 @@ use Psalm\Context;
|
||||
use Psalm\Issue\ConflictingReferenceConstraint;
|
||||
use Psalm\IssueBuffer;
|
||||
use Psalm\Internal\Scope\IfScope;
|
||||
use Psalm\Type;
|
||||
use Psalm\Internal\Algebra;
|
||||
use Psalm\Type\Reconciler;
|
||||
use function array_merge;
|
||||
@ -18,7 +17,6 @@ use function array_diff_key;
|
||||
use function array_keys;
|
||||
use function count;
|
||||
use function in_array;
|
||||
use function array_intersect_key;
|
||||
|
||||
class ElseAnalyzer
|
||||
{
|
||||
|
@ -15,7 +15,6 @@ use Psalm\Context;
|
||||
use Psalm\Issue\ConflictingReferenceConstraint;
|
||||
use Psalm\IssueBuffer;
|
||||
use Psalm\Internal\Scope\IfScope;
|
||||
use Psalm\Type;
|
||||
use Psalm\Internal\Algebra;
|
||||
use Psalm\Type\Reconciler;
|
||||
use function array_merge;
|
||||
@ -31,7 +30,6 @@ use function preg_quote;
|
||||
use function array_unique;
|
||||
use function count;
|
||||
use function in_array;
|
||||
use function array_intersect_key;
|
||||
|
||||
class ElseIfAnalyzer
|
||||
{
|
||||
|
@ -10,36 +10,22 @@ use Psalm\Internal\Analyzer\Statements\Expression\CallAnalyzer;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\Call\ArgumentMapPopulator;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\Call\ClassTemplateParamCollector;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\Call\ArgumentsAnalyzer;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\Call\FunctionCallAnalyzer;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\ExpressionIdentifier;
|
||||
use Psalm\Internal\Analyzer\StatementsAnalyzer;
|
||||
use Psalm\Internal\Type\Comparator\UnionTypeComparator;
|
||||
use Psalm\Internal\Codebase\InternalCallMapHandler;
|
||||
use Psalm\Codebase;
|
||||
use Psalm\CodeLocation;
|
||||
use Psalm\Context;
|
||||
use Psalm\Internal\MethodIdentifier;
|
||||
use Psalm\Internal\FileManipulation\FileManipulationBuffer;
|
||||
use Psalm\Issue\InvalidPropertyAssignmentValue;
|
||||
use Psalm\Issue\MixedMethodCall;
|
||||
use Psalm\Issue\MixedPropertyTypeCoercion;
|
||||
use Psalm\Issue\PossiblyInvalidPropertyAssignmentValue;
|
||||
use Psalm\Issue\PropertyTypeCoercion;
|
||||
use Psalm\Issue\UndefinedThisPropertyAssignment;
|
||||
use Psalm\Issue\UndefinedThisPropertyFetch;
|
||||
use Psalm\IssueBuffer;
|
||||
use Psalm\Storage\Assertion;
|
||||
use Psalm\Type;
|
||||
use Psalm\Type\Atomic\TNamedObject;
|
||||
use function array_values;
|
||||
use function array_shift;
|
||||
use function get_class;
|
||||
use function strtolower;
|
||||
use function array_map;
|
||||
use function array_merge;
|
||||
use function explode;
|
||||
use function in_array;
|
||||
use function count;
|
||||
|
||||
class AtomicMethodCallAnalyzer extends CallAnalyzer
|
||||
{
|
||||
|
@ -2,14 +2,10 @@
|
||||
namespace Psalm\Internal\Analyzer\Statements\Expression\Call\Method;
|
||||
|
||||
use PhpParser;
|
||||
use Psalm\Internal\Analyzer\ClassLikeAnalyzer;
|
||||
use Psalm\Internal\Analyzer\FunctionLikeAnalyzer;
|
||||
use Psalm\Internal\Analyzer\MethodAnalyzer;
|
||||
use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\CallAnalyzer;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\Call\ArgumentMapPopulator;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\Call\ClassTemplateParamCollector;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\Call\ArgumentsAnalyzer;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\Call\FunctionCallAnalyzer;
|
||||
use Psalm\Internal\Analyzer\Statements\Expression\ExpressionIdentifier;
|
||||
use Psalm\Internal\Analyzer\StatementsAnalyzer;
|
||||
@ -21,7 +17,6 @@ use Psalm\Context;
|
||||
use Psalm\Internal\MethodIdentifier;
|
||||
use Psalm\Internal\FileManipulation\FileManipulationBuffer;
|
||||
use Psalm\Issue\InvalidPropertyAssignmentValue;
|
||||
use Psalm\Issue\MixedMethodCall;
|
||||
use Psalm\Issue\MixedPropertyTypeCoercion;
|
||||
use Psalm\Issue\PossiblyInvalidPropertyAssignmentValue;
|
||||
use Psalm\Issue\PropertyTypeCoercion;
|
||||
@ -30,13 +25,8 @@ use Psalm\Issue\UndefinedThisPropertyFetch;
|
||||
use Psalm\IssueBuffer;
|
||||
use Psalm\Storage\Assertion;
|
||||
use Psalm\Type;
|
||||
use Psalm\Type\Atomic\TNamedObject;
|
||||
use function array_values;
|
||||
use function array_shift;
|
||||
use function get_class;
|
||||
use function strtolower;
|
||||
use function array_map;
|
||||
use function array_merge;
|
||||
use function explode;
|
||||
use function in_array;
|
||||
use function count;
|
||||
|
Loading…
Reference in New Issue
Block a user