mirror of
https://github.com/danog/psalm-insane-comparison.git
synced 2024-11-26 20:14:46 +01:00
cleanup and fixes
This commit is contained in:
parent
b376e73e10
commit
5a1efa05d6
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace Orklah\PsalmStrictVisibility;
|
||||
namespace Orklah\PsalmInsaneComparison;
|
||||
|
||||
use Orklah\PsalmInsaneComparison\Hooks\InsaneComparison;
|
||||
use SimpleXMLElement;
|
||||
|
@ -5,10 +5,6 @@ declare(strict_types=1);
|
||||
namespace Orklah\PsalmInsaneComparison\Hooks;
|
||||
|
||||
use PhpParser\Node\Expr;
|
||||
use PhpParser\Node\Expr\Variable;
|
||||
use PhpParser\Node\Scalar\DNumber;
|
||||
use PhpParser\Node\Scalar\LNumber;
|
||||
use PhpParser\Node\Scalar\String_;
|
||||
use Psalm\Codebase;
|
||||
use Psalm\CodeLocation;
|
||||
use Psalm\Context;
|
||||
@ -16,15 +12,11 @@ use Psalm\Issue\PluginIssue;
|
||||
use Psalm\IssueBuffer;
|
||||
use Psalm\Plugin\Hook\AfterExpressionAnalysisInterface;
|
||||
use Psalm\StatementsSource;
|
||||
use Psalm\Type\Atomic\TCallableString;
|
||||
use Psalm\Type\Atomic\TClassString;
|
||||
use Psalm\Type\Atomic\TLiteralClassString;
|
||||
use Psalm\Type\Atomic\TLiteralInt;
|
||||
use Psalm\Type\Atomic\TLiteralString;
|
||||
use Psalm\Type\Atomic\TNumericString;
|
||||
use Psalm\Type\Atomic\TPositiveInt;
|
||||
use Psalm\Type\Atomic\TSingleLetter;
|
||||
use Psalm\Type\Atomic\TTraitString;
|
||||
|
||||
class InsaneComparisonAnalyzer implements AfterExpressionAnalysisInterface
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user