Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

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

More lint/refactor rules · Edit this page

Last updated on

Was this page helpful?