- Edited
Is it possible format fn( ) with spaces within? This:
$dummy_format = fn( $value ) => $value;
gets formatted to
$dummy_format = fn($value) => $value;
which I find less readable
Is it possible format fn( ) with spaces within? This:
$dummy_format = fn( $value ) => $value;
gets formatted to
$dummy_format = fn($value) => $value;
which I find less readable
Hello,
Thank you for the post.
Yes, this didn't have an option yet. I think we can just use php.format.rules.spaceWithinDeclParens
for it.
Done, will be available in the next pre-release.
Thank you!