lint/refactor/remove-phpdoc-annotation
Not in any set. Safe fix.
What it does
Removes configured annotations from PHPDoc.
Configuration
[lint.rules]
"refactor/remove-phpdoc-annotation" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
annotations |
list |
Any | [] |
annotations |
case-sensitive |
bool |
Any | true |
case_sensitive |
Replaces
general_phpdoc_annotation_remove(php-cs-fixer)