From dce387d2ff5678e5db075211da6ca88c3d6e575a Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Thu, 2 Jan 2025 18:32:24 +0700 Subject: [PATCH] [PHPStan 2.1.x-dev] Handle next unreachable statement via UnreachableStatementNode->getNextUnreachableStatements() --- src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php b/src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php index a50b4554a2..6abab16004 100644 --- a/src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php +++ b/src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php @@ -105,7 +105,6 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\PHPStan\Scope\Contract\NodeVisitor\ScopeResolverNodeVisitorInterface; use Rector\PhpParser\Node\CustomNode\FileWithoutNamespace; -use Rector\PHPStan\NodeVisitor\UnreachableStatementNodeVisitor; use Rector\Util\Reflection\PrivatesAccessor; use Webmozart\Assert\Assert;