We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d67cf commit 43c24ffCopy full SHA for 43c24ff
src/IgnoredLinesFindingVisitor.php
@@ -57,6 +57,13 @@ public function enterNode(Node $node): void
57
range($node->getStartLine(), $node->getEndLine())
58
);
59
}
60
+
61
+ if ($this->ignoreDeprecated && strpos($docComment->getText(), '@deprecated') !== false) {
62
+ $this->ignoredLines = array_merge(
63
+ $this->ignoredLines,
64
+ range($node->getStartLine(), $node->getEndLine())
65
+ );
66
+ }
67
68
69
/**
0 commit comments