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

format/phpdoc/line-span

Not in any preset. Safe fix.

What it does

Changes doc blocks from single to multi line, or reversed.

Configuration

[format.rules]
"phpdoc/line-span" = true

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

Options

Name Type Allowed values Default Upstream name
case enum single, multi "multi" case
class enum single, multi "multi" class
const enum single, multi "multi" const
function enum single, multi "multi" function
method enum single, multi "multi" method
other enum single, multi "ignore" other
property enum single, multi "multi" property
trait-import enum single, multi "ignore" trait_import

Replaces

More format/phpdoc rules · Edit this page

Last updated on

Was this page helpful?