format/whitespace/statement-indentation
In the format-laravel and format-psr12 presets. Safe fix.
What it does
Each statement must be indented.
Configuration
[format.rules]
"whitespace/statement-indentation" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
stick-comment-to-next-continuous-control-statement |
bool |
Any | false |
stick_comment_to_next_continuous_control_statement |
Replaces
statement_indentation(php-cs-fixer)