Skip to content

Commit 9b5d075

Browse files
jrmajorsebastianbergmann
authored andcommitted
Configure CS fixer to remove redundant parentheses
1 parent 4710e1b commit 9b5d075

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.php-cs-fixer.dist.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@
130130
'native_function_casing' => false,
131131
'native_function_invocation' => false,
132132
'native_function_type_declaration_casing' => true,
133-
'new_with_braces' => false,
133+
'new_with_braces' => [
134+
'named_class' => false,
135+
'anonymous_class' => false,
136+
],
134137
'no_alias_functions' => true,
135138
'no_alias_language_construct_call' => true,
136139
'no_alternative_syntax' => true,

0 commit comments

Comments
 (0)