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

format/phpdoc/indent

In the format-laravel preset. Safe fix.

What it does

Docblocks should have the same indentation as the documented subject.

Configuration

[format.rules]
"phpdoc/indent" = 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?