diff --git a/src/Psalm/Internal/Type/Comparator/IntegerRangeComparator.php b/src/Psalm/Internal/Type/Comparator/IntegerRangeComparator.php index 4b51f12b8..583afcad9 100644 --- a/src/Psalm/Internal/Type/Comparator/IntegerRangeComparator.php +++ b/src/Psalm/Internal/Type/Comparator/IntegerRangeComparator.php @@ -2,49 +2,7 @@ namespace Psalm\Internal\Type\Comparator; -use Psalm\Codebase; -use Psalm\Internal\Analyzer\ClassLikeAnalyzer; -use Psalm\Type; -use Psalm\Type\Atomic\Scalar; -use Psalm\Type\Atomic\TArray; -use Psalm\Type\Atomic\TArrayKey; -use Psalm\Type\Atomic\TBool; -use Psalm\Type\Atomic\TCallableString; -use Psalm\Type\Atomic\TClassString; -use Psalm\Type\Atomic\TDependentGetClass; -use Psalm\Type\Atomic\TDependentGetDebugType; -use Psalm\Type\Atomic\TDependentGetType; -use Psalm\Type\Atomic\TDependentListKey; -use Psalm\Type\Atomic\TFalse; -use Psalm\Type\Atomic\TFloat; -use Psalm\Type\Atomic\THtmlEscapedString; -use Psalm\Type\Atomic\TInt; use Psalm\Type\Atomic\TIntRange; -use Psalm\Type\Atomic\TLiteralClassString; -use Psalm\Type\Atomic\TLiteralFloat; -use Psalm\Type\Atomic\TLiteralInt; -use Psalm\Type\Atomic\TLiteralString; -use Psalm\Type\Atomic\TLowercaseString; -use Psalm\Type\Atomic\TNamedObject; -use Psalm\Type\Atomic\TNonEmptyNonspecificLiteralString; -use Psalm\Type\Atomic\TNonEmptyString; -use Psalm\Type\Atomic\TNonFalsyString; -use Psalm\Type\Atomic\TNonspecificLiteralInt; -use Psalm\Type\Atomic\TNonspecificLiteralString; -use Psalm\Type\Atomic\TNumeric; -use Psalm\Type\Atomic\TNumericString; -use Psalm\Type\Atomic\TPositiveInt; -use Psalm\Type\Atomic\TScalar; -use Psalm\Type\Atomic\TSingleLetter; -use Psalm\Type\Atomic\TString; -use Psalm\Type\Atomic\TTemplateParam; -use Psalm\Type\Atomic\TTemplateParamClass; -use Psalm\Type\Atomic\TTraitString; -use Psalm\Type\Atomic\TTrue; - -use function array_values; -use function get_class; -use function strtolower; /** * @internal diff --git a/tests/IntRangeTest.php b/tests/IntRangeTest.php index 10b1d5fa2..dd96bac17 100644 --- a/tests/IntRangeTest.php +++ b/tests/IntRangeTest.php @@ -1,10 +1,6 @@