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

format/phpdoc/single-line-var-spacing

In the format-laravel preset. Safe fix.

What it does

Single line @var PHPDoc should have proper spacing.

Configuration

[format.rules]
"phpdoc/single-line-var-spacing" = 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?