Skip to content

Commit df89283

Browse files
committed
[ci-review] Rector Rectify
1 parent 12cebe3 commit df89283

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rules/DowngradePhp73/Rector/ConstFetch/DowngradePhp73JsonConstRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Rector\DowngradePhp73\Rector\ConstFetch;
66

7-
use PhpParser\NodeVisitor;
87
use PhpParser\Node;
98
use PhpParser\Node\Arg;
109
use PhpParser\Node\Expr;
@@ -24,6 +23,7 @@
2423
use PhpParser\Node\Stmt\Throw_;
2524
use PhpParser\Node\Stmt\TryCatch;
2625
use PhpParser\Node\VariadicPlaceholder;
26+
use PhpParser\NodeVisitor;
2727
use Rector\DowngradePhp72\NodeManipulator\JsonConstCleaner;
2828
use Rector\Enum\JsonConstant;
2929
use Rector\NodeAnalyzer\DefineFuncCallAnalyzer;

rules/DowngradePhp80/Rector/Expression/DowngradeMatchToSwitchRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Rector\DowngradePhp80\Rector\Expression;
66

7-
use PhpParser\NodeVisitor;
87
use PhpParser\Node;
98
use PhpParser\Node\Arg;
109
use PhpParser\Node\ArrayItem;
@@ -26,6 +25,7 @@
2625
use PhpParser\Node\Stmt\Expression;
2726
use PhpParser\Node\Stmt\Return_;
2827
use PhpParser\Node\Stmt\Switch_;
28+
use PhpParser\NodeVisitor;
2929
use PHPStan\Analyser\Scope;
3030
use Rector\NodeTypeResolver\Node\AttributeKey;
3131
use Rector\Php72\NodeFactory\AnonymousFunctionFactory;

0 commit comments

Comments
 (0)