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

format/tags/blank-line-after-opening

In the format-laravel and format-psr12 presets. Safe fix.

What it does

Ensure there is no code on the same line as the PHP open tag and it is followed by a blank line.

Configuration

[format.rules]
"tags/blank-line-after-opening" = true

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

Replaces

More format/tags rules · Edit this page

Last updated on

Was this page helpful?