Skip to content

Commit

Permalink
TASK: Add identifier to custom PHPStan rules
Browse files Browse the repository at this point in the history
So that they can be explicitly targeted/ignored
  • Loading branch information
bwaidelich committed Nov 8, 2024
1 parent 0bf2d8f commit f8d12b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function processNode(Node $node, Scope $scope): array
return [
RuleErrorBuilder::message(
'Class needs @api or @internal annotation.'
)->build(),
)->identifier('neos.cr.internal')->build(),
];
}
return [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function processNode(Node $node, Scope $scope): array
$targetClassName,
$node->name->toString()
)
)->build(),
)->identifier('neos.cr.internal')->build(),
];
}
}
Expand Down

0 comments on commit f8d12b1

Please sign in to comment.