format/strings/heredoc-indentation
Not in any preset. Safe fix.
What it does
Heredoc/nowdoc content must be properly indented.
Configuration
[format.rules]
"strings/heredoc-indentation" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
indentation |
enum |
start-plus-one, same-as-start |
"start-plus-one" |
indentation |
Replaces
heredoc_indentation(php-cs-fixer)