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

format/strings/heredoc-to-nowdoc

In the format-laravel preset. Safe fix.

What it does

Convert heredoc to nowdoc where possible.

Configuration

[format.rules]
"strings/heredoc-to-nowdoc" = true

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

Replaces

More format/strings rules · Edit this page

Last updated on

Was this page helpful?