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

format/tags/full-opening

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

What it does

PHP code must use the long <?php tags or short-echo <?= tags and not other tag variations.

Configuration

[format.rules]
"tags/full-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?