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

format/phpdoc/param-order

Not in any preset. Safe fix.

What it does

Orders all @param annotations in DocBlocks according to method signature.

Configuration

[format.rules]
"phpdoc/param-order" = true

To skip it in some files, add a @pun-ignore-file comment.

Replaces

More format/phpdoc rules · Edit this page

Last updated on

Was this page helpful?