Skip to content

Commit c0063dc

Browse files
localheinzsebastianbergmann
authored andcommitted
Fix: Do not configure deprecated fixers
1 parent 18236fa commit c0063dc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.php-cs-fixer.dist.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@
7272
'yield_from',
7373
],
7474
],
75+
'braces_position' => [
76+
'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end',
77+
'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end',
78+
],
7579
'cast_spaces' => true,
7680
'class_attributes_separation' => [
7781
'elements' => [
@@ -85,15 +89,11 @@
8589
'combine_consecutive_issets' => true,
8690
'combine_consecutive_unsets' => true,
8791
'combine_nested_dirname' => true,
88-
'compact_nullable_typehint' => true,
92+
'compact_nullable_type_declaration' => true,
8993
'concat_space' => ['spacing' => 'one'],
9094
'constant_case' => true,
9195
'control_structure_braces' => true,
9296
'control_structure_continuation_position' => true,
93-
'curly_braces_position' => [
94-
'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end',
95-
'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end',
96-
],
9797
'declare_equal_normalize' => ['space' => 'none'],
9898
'declare_parentheses' => true,
9999
'declare_strict_types' => true,
@@ -147,8 +147,8 @@
147147
'@internal',
148148
],
149149
],
150-
'native_function_type_declaration_casing' => true,
151-
'new_with_braces' => [
150+
'native_type_declaration_casing' => true,
151+
'new_with_parentheses' => [
152152
'named_class' => false,
153153
'anonymous_class' => false,
154154
],
@@ -185,8 +185,8 @@
185185
'no_trailing_whitespace' => true,
186186
'no_trailing_whitespace_in_comment' => true,
187187
'no_trailing_whitespace_in_string' => true,
188+
'no_unneeded_braces' => true,
188189
'no_unneeded_control_parentheses' => true,
189-
'no_unneeded_curly_braces' => true,
190190
'no_unneeded_final_method' => true,
191191
'no_unneeded_import_alias' => true,
192192
'no_unreachable_default_argument_value' => true,

0 commit comments

Comments
 (0)