erickskrauch/php-cs-fixer-custom-fixers
Custom PHP-CS-Fixer fixers by Erick Skrauch. Adds opinionated formatting rules like aligning multiline parameters, inserting blank lines around class bodies and before returns, spacing after control statements, fixing multiline if braces, ordering overrides, and Yii2 ::className() replacement.
ErickSkrauch\ordered_overrides fixer.ErickSkrauch/align_multiline_parameters now correctly aligns variadic arguments.ErickSkrauch/align_multiline_parameters produces a new line for promoted properties without any types.ErickSkrauch/align_multiline_parameters now correctly handles non-latin types and variable names (but you still shouldn't do that).ErickSkrauch/align_multiline_parameters not working correctly with unions and intersections.ErickSkrauch/align_multiline_parameters inserted a space between the type and the param name in the wrong position when there was no whitespace between them.ErickSkrauch/align_multiline_parameters not working correctly with nullable type hints.ErickSkrauch\line_break_after_statements no longer removes extra blank lines in consecutive closing curly braces. Use no_extra_blank_lines with curly_brace_block tokens configuration for this fix.ErickSkrauch\line_break_after_statements is now also fixes try-catch-finally block.ErickSkrauch\blank_line_around_class_body fixer to avoid conflict with no_extra_blank_lines.elyby/php-code-style).How can I help you explore Laravel packages today?