Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprofile authored Jun 10, 2022
1 parent fe72476 commit 137f33e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/StaticAnalysis/IgnoredLinesFindingVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ public function enterNode(Node $node): void
}

if ($node instanceof Interface_) {
$this->ignoredLines = array_merge(
$this->ignoredLines,
range($node->getStartLine(), $node->getEndLine())
);
return;
}

Expand Down

0 comments on commit 137f33e

Please sign in to comment.