From 2604a46df1f93a09eb52447f49cf7a5d20c5fad4 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 1 Jul 2024 01:14:43 +0700 Subject: [PATCH] Remove unused UseImportsResolver service on ImplementsFactoryInterfaceToPsrFactoryRector Signed-off-by: Abdul Malik Ikhsan --- .../Class_/ImplementsFactoryInterfaceToPsrFactoryRector.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Rector/Class_/ImplementsFactoryInterfaceToPsrFactoryRector.php b/src/Rector/Class_/ImplementsFactoryInterfaceToPsrFactoryRector.php index b5e90e4..7295abf 100644 --- a/src/Rector/Class_/ImplementsFactoryInterfaceToPsrFactoryRector.php +++ b/src/Rector/Class_/ImplementsFactoryInterfaceToPsrFactoryRector.php @@ -16,7 +16,6 @@ use Rector\Configuration\Parameter\SimpleParameterProvider; use Rector\PhpParser\Node\BetterNodeFinder; use Rector\PhpParser\Node\CustomNode\FileWithoutNamespace; -use Rector\Naming\Naming\UseImportsResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; @@ -27,7 +26,6 @@ final class ImplementsFactoryInterfaceToPsrFactoryRector extends AbstractRector private const FACTORY_INTERFACE = FactoryInterface::class; public function __construct( - private UseImportsResolver $useImportsResolver, private BetterNodeFinder $betterNodeFinder ) { }