Skip to content

Commit

Permalink
Merge pull request #5354 from neos/task/phpstan-identifiers-for-custo…
Browse files Browse the repository at this point in the history
…m-rules

TASK: Add identifier to custom PHPStan rules
  • Loading branch information
bwaidelich authored Nov 8, 2024
2 parents 0bf2d8f + f8d12b1 commit 85b6a4d
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 85b6a4d

Please sign in to comment.