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

format/phpdoc/align

In the format-laravel preset. Safe fix.

What it does

All items of the given PHPDoc tags must be either left-aligned or (by default) aligned vertically.

Configuration

[format.rules]
"phpdoc/align" = true

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

Options

Name Type Allowed values Default Upstream name
align enum left, vertical "vertical" align
spacing int-or-map Any 1 spacing
tags list Any ["method", "param", "property", "return", "throws", "type", "var"] tags

Replaces

More format/phpdoc rules · Edit this page

Last updated on

Was this page helpful?