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 f64a1c7 commit 0133cfaCopy full SHA for 0133cfa
src/utils/CommentMatcher.php
@@ -18,6 +18,8 @@ public static function matchComments(Node $node, string $pattern): iterable
18
{
19
if (
20
$node instanceof Node\Stmt\InlineHTML
21
+ || $node instanceof Node\Name
22
+ || $node instanceof Node\Identifier
23
|| $node instanceof \PHPStan\Node\CollectedDataNode // see https://github.com/phpstan/phpstan/discussions/11701
24
) {
25
// prevent unnecessary work / reduce memory consumption
0 commit comments