method_argument_space
: allow separating arguments with empty lines
#7849
Labels
method_argument_space
: allow separating arguments with empty lines
#7849
Feature request
https://cs.symfony.com/doc/rules/function_notation/method_argument_space.html
This definition allows for empty lines between the two subsequent parameters. Illustrated:
IMHO this is a valid, readable way to format variadic function parameters. It's especially useful for more complex ones as they become visually distinct from each other, and that allows cursory scan of the parameters to quickly find the one you need - or to determine the amount of passed parameters, and their order.
However, there is no existing configuration that would allow that, php-cs-fixer removes the empty lines between
Filters
definitions:Thanks for reading and consideration, here's a racoon for your trouble:
The text was updated successfully, but these errors were encountered: