Skip to content

Commit c2efd5d

Browse files
Merge branch '8.5' into 9.6
2 parents d7df04d + cc8c089 commit c2efd5d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.php-cs-fixer.dist.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434
],
3535
],
3636
'blank_line_after_namespace' => true,
37-
'blank_lines_before_namespace' => [
38-
'max_line_breaks' => 1,
39-
'min_line_breaks' => 0,
40-
],
4137
'blank_line_before_statement' => [
4238
'statements' => [
4339
'break',
@@ -65,6 +61,14 @@
6561
'yield_from',
6662
],
6763
],
64+
'blank_lines_before_namespace' => [
65+
'max_line_breaks' => 1,
66+
'min_line_breaks' => 0,
67+
],
68+
'braces_position' => [
69+
'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end',
70+
'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end',
71+
],
6872
'cast_spaces' => true,
6973
'class_attributes_separation' => [
7074
'elements' => [
@@ -78,15 +82,11 @@
7882
'combine_consecutive_issets' => true,
7983
'combine_consecutive_unsets' => true,
8084
'combine_nested_dirname' => true,
81-
'compact_nullable_typehint' => true,
85+
'compact_nullable_type_declaration' => true,
8286
'concat_space' => ['spacing' => 'one'],
8387
'constant_case' => true,
8488
'control_structure_braces' => true,
8589
'control_structure_continuation_position' => true,
86-
'curly_braces_position' => [
87-
'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end',
88-
'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end',
89-
],
9090
'declare_equal_normalize' => ['space' => 'none'],
9191
'declare_parentheses' => true,
9292
'declare_strict_types' => true,
@@ -140,10 +140,10 @@
140140
'@internal',
141141
],
142142
],
143-
'native_function_type_declaration_casing' => true,
144-
'new_with_braces' => [
145-
'named_class' => false,
143+
'native_type_declaration_casing' => true,
144+
'new_with_parentheses' => [
146145
'anonymous_class' => false,
146+
'named_class' => false,
147147
],
148148
'no_alias_functions' => true,
149149
'no_alias_language_construct_call' => true,
@@ -178,8 +178,8 @@
178178
'no_trailing_whitespace' => true,
179179
'no_trailing_whitespace_in_comment' => true,
180180
'no_trailing_whitespace_in_string' => true,
181+
'no_unneeded_braces' => true,
181182
'no_unneeded_control_parentheses' => true,
182-
'no_unneeded_curly_braces' => true,
183183
'no_unneeded_final_method' => true,
184184
'no_unneeded_import_alias' => true,
185185
'no_unreachable_default_argument_value' => true,

0 commit comments

Comments
 (0)