Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jul 11, 2023
1 parent 26a368c commit 59b4c8d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@
use PhpParser\Node\Expr\BinaryOp\BooleanAnd;
use PhpParser\Node\Stmt\If_;
use PhpParser\Node\Stmt\Return_;
use PHPStan\Analyser\Scope;
use Rector\Core\NodeAnalyzer\CallAnalyzer;
use Rector\Core\NodeManipulator\IfManipulator;
use Rector\Core\PhpParser\Node\AssignAndBinaryMap;
use Rector\Core\Rector\AbstractRector;
use Rector\Core\Rector\AbstractScopeAwareRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;

Expand Down
5 changes: 0 additions & 5 deletions src/ProcessAnalyzer/RectifiedAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ private function isJustReprintedOverlappedTokenStart(Node $node, ?Node $original
return false;
}

// if (! $node instanceof Stmt) {
// $createdByRule = $node->getAttribute(AttributeKey::CREATED_BY_RULE) ?? [];
// return $createdByRule === [];
// }

/**
* Start token pos must be < 0 to continue, as the node and parent node just re-printed
*
Expand Down

0 comments on commit 59b4c8d

Please sign in to comment.