Summary
Running Laravel Pint (the default Laravel code style fixer) reports 368 style issues across 441 files.
Most common violations
| Rule |
Description |
ordered_imports |
Import statements not alphabetically sorted |
single_quote |
Double quotes used where single quotes suffice |
no_unused_imports |
Unused use statements |
concat_space |
Inconsistent spacing around . concatenation |
no_trailing_whitespace |
Trailing whitespace on lines |
single_blank_line_at_eof |
Missing or extra blank line at end of file |
no_whitespace_in_blank_line |
Blank lines containing whitespace |
braces_position |
Brace placement not matching PSR-12 |
class_definition |
Class definition formatting |
method_chaining_indentation |
Inconsistent indentation on chained calls |
new_with_parentheses |
new Foo instead of new Foo() |
not_operator_with_successor_space |
Missing space after ! |
no_extra_blank_lines |
Extra blank lines |
indentation_type |
Mixed tabs/spaces |
How to reproduce
Proposed fix
All issues are auto-fixable by running:
This could also be enforced in CI to prevent future style regressions.
Summary
Running Laravel Pint (the default Laravel code style fixer) reports 368 style issues across 441 files.
Most common violations
ordered_importssingle_quoteno_unused_importsusestatementsconcat_space.concatenationno_trailing_whitespacesingle_blank_line_at_eofno_whitespace_in_blank_linebraces_positionclass_definitionmethod_chaining_indentationnew_with_parenthesesnew Fooinstead ofnew Foo()not_operator_with_successor_space!no_extra_blank_linesindentation_typeHow to reproduce
Proposed fix
All issues are auto-fixable by running:
This could also be enforced in CI to prevent future style regressions.