Skip to content

Commit

Permalink
future comment
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 23, 2024
1 parent 8f80d64 commit 1036159
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ public function refactor(Node $node): ?Node
foreach ($node->attrGroups as $attrGroup) {
foreach ($attrGroup->attrs as $key => $attribute) {
if ($this->shouldSkipAttribute($attribute)) {
// avoid error on same line
// as attribute ->getStartLine() always equal with node ->getStartLine()
// can't validate it, so enforce to reprint later
$requireReprint = true;
continue;
}
Expand Down

0 comments on commit 1036159

Please sign in to comment.