Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Cs Fixer Custom Fixers Laravel Package

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.

View on GitHub
Deep Wiki
Context7
1.3.1

Fixed

  • Fix #16: Ensure compatibility with PHP-CS-Fixer 3.90.0 (alamirault).
1.3.0

Added

  • Enh #4: Introduce ErickSkrauch\ordered_overrides fixer.

Fixed

  • Fix #14: Ensure compatibility with PHP-CS-Fixer 3.59.3 (alamirault).
1.2.4

Fixed

  • Bug #9: ErickSkrauch/align_multiline_parameters now correctly aligns variadic arguments.
1.2.3

Fixed

  • Bug #8: ErickSkrauch/align_multiline_parameters produces a new line for promoted properties without any types.
1.2.2

Added

  • ErickSkrauch/align_multiline_parameters now correctly handles non-latin types and variable names (but you still shouldn't do that).

Fixed

  • Bug #6: 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.
1.2.1

Fixed

  • Bug #3: ErickSkrauch/align_multiline_parameters not working correctly with nullable type hints.
1.2.0

Changed

  • 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.
1.1.0

Added

  • Enh #1: ErickSkrauch\line_break_after_statements is now also fixes try-catch-finally block.
1.0.1

Fixed

  • Decrease priority of the ErickSkrauch\blank_line_around_class_body fixer to avoid conflict with no_extra_blank_lines.
1.0.0

Added

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport