Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 15, 2021
1 parent badfee1 commit 9d055b9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rules/Php56/NodeAnalyzer/UndefinedVariableResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@
use PhpParser\Node\Expr\ArrowFunction;
use PhpParser\Node\Expr\Assign;
use PhpParser\Node\Expr\AssignRef;
use PhpParser\Node\Expr\BinaryOp\Coalesce;
use PhpParser\Node\Expr\Cast\Unset_ as UnsetCast;
use PhpParser\Node\Expr\Closure;
use PhpParser\Node\Expr\Isset_;
use PhpParser\Node\Expr\List_;
use PhpParser\Node\Expr\Ternary;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\FunctionLike;
use PhpParser\Node\Stmt\ClassMethod;
Expand Down Expand Up @@ -116,11 +114,6 @@ private function issetOrUnsetParent(Node $parentNode): bool
return in_array($parentNode::class, [Unset_::class, UnsetCast::class, Isset_::class], true);
}

private function conditionParent(Node $parentNode): bool
{
return in_array($parentNode::class, [Ternary::class, Coalesce::class], true);
}

private function isAssignOrStaticVariableParent(Node $parentNode): bool
{
if (in_array($parentNode::class, [Assign::class, AssignRef::class], true)) {
Expand Down

0 comments on commit 9d055b9

Please sign in to comment.