Skip to content

Commit efa7000

Browse files
committed
Fix: Use braces_position instead of deprecated curly_braces_position fixer
1 parent 494051f commit efa7000

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.php-cs-fixer.dist.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
'yield_from',
5858
],
5959
],
60+
'braces_position' => [
61+
'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end',
62+
'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end',
63+
],
6064
'cast_spaces' => true,
6165
'class_attributes_separation' => [
6266
'elements' => [
@@ -75,10 +79,6 @@
7579
'constant_case' => true,
7680
'control_structure_braces' => true,
7781
'control_structure_continuation_position' => true,
78-
'curly_braces_position' => [
79-
'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end',
80-
'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end',
81-
],
8282
'declare_equal_normalize' => ['space' => 'none'],
8383
'declare_parentheses' => true,
8484
'declare_strict_types' => true,

0 commit comments

Comments
 (0)