format/whitespace
Indentation, blank lines, line endings and trailing whitespace.
encoding
PHP code MUST use only UTF-8 without BOM (remove BOM).
In the format-laravel and format-psr12 presets. Safe fix.
final-newline
A PHP file without end tag must always end with a single empty line feed.
In the format-laravel and format-psr12 presets. Safe fix.
indentation-type
Code MUST use configured indentation type.
In the format-laravel and format-psr12 presets. Safe fix.
inside-parentheses
Parentheses must be declared using the configured whitespace.
In the format-laravel and format-psr12 presets. Safe fix.
line-ending
All PHP files must use same line ending.
In the format-laravel and format-psr12 presets. Safe fix.
no-blank-line-whitespace
Remove trailing whitespace at the end of blank lines.
In the format-laravel and format-psr12 presets. Safe fix.
no-extra-blank-lines
Removes extra blank lines and/or blank lines following configuration.
In the format-laravel and format-psr12 presets. Safe fix.
no-trailing
There must be no trailing whitespace at the end of non-blank lines.
In the format-laravel and format-psr12 presets. Safe fix.
statement-indentation
Each statement must be indented.
In the format-laravel and format-psr12 presets. Safe fix.