lint/refactor/remove-attribute
Not in any set. Safe fix.
What it does
Removes configured attributes by their respective FQN.
Configuration
[lint.rules]
"refactor/remove-attribute" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
attributes |
list |
Any | [] |
attributes |
Replaces
general_attribute_remove(php-cs-fixer)