lint/phpdoc/add-missing-param
In the coding-style set. Safe fix.
What it does
PHPDoc should contain @param for all params.
Configuration
[lint.rules]
"phpdoc/add-missing-param" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
only-untyped |
bool |
Any | true |
only_untyped |
Replaces
phpdoc_add_missing_param_annotation(php-cs-fixer)