-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
Thanks for this library, I just swtiched from php-cs-fixer due to its lack of support for property hooks.
We used a config based on symfony with slight changes like collapse empty braces if empty
'single_line_empty_body' => true,
'braces_position' => [
'allow_single_line_anonymous_functions' => true,
'allow_single_line_empty_anonymous_classes' => true,
],how do i set these configs along with symfony preset, if i don't use symfony preset, braces are in the same line as function or class declaration if empty (i guess that is PER complaint styling), but then space is removed between function and brackets
- function ()
+ function()I prefer the former.
Overall, it is not clear how to change individual rules.
Also, it would be pretty cool if it could read php-cs-fixer config files.
Metadata
Metadata
Assignees
Labels
No labels