lint/style/prefer-phpdoc-comment
Not in any set. Unsafe fix: it can change behaviour.
What it does
Comments with annotation should be docblock when used on structural elements.
Configuration
[lint.rules]
"style/prefer-phpdoc-comment" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
ignored-tags |
list |
Any | [] |
ignored_tags |
Replaces
comment_to_phpdoc(php-cs-fixer, risky)