@@ -108,16 +108,25 @@ public function __construct()
108
108
'constant_case ' => ['case ' => 'lower ' ],
109
109
'control_structure_braces ' => true ,
110
110
'control_structure_continuation_position ' => ['position ' => 'same_line ' ],
111
- 'date_time_immutable ' => false ,
112
- 'declare_equal_normalize ' => ['space ' => 'none ' ],
113
- 'declare_parentheses ' => true ,
114
- 'declare_strict_types ' => false ,
115
- 'dir_constant ' => true ,
116
- 'doctrine_annotation_array_assignment ' => false ,
117
- 'doctrine_annotation_braces ' => false ,
118
- 'doctrine_annotation_indentation ' => false ,
119
- 'doctrine_annotation_spaces ' => false ,
120
- 'echo_tag_syntax ' => [
111
+ 'curly_braces_position ' => [
112
+ 'control_structures_opening_brace ' => 'same_line ' ,
113
+ 'functions_opening_brace ' => 'next_line_unless_newline_at_signature_end ' ,
114
+ 'anonymous_functions_opening_brace ' => 'same_line ' ,
115
+ 'classes_opening_brace ' => 'next_line_unless_newline_at_signature_end ' ,
116
+ 'anonymous_classes_opening_brace ' => 'same_line ' ,
117
+ 'allow_single_line_empty_anonymous_classes ' => true ,
118
+ 'allow_single_line_anonymous_functions ' => true ,
119
+ ],
120
+ 'date_time_immutable ' => false ,
121
+ 'declare_equal_normalize ' => ['space ' => 'none ' ],
122
+ 'declare_parentheses ' => true ,
123
+ 'declare_strict_types ' => false ,
124
+ 'dir_constant ' => true ,
125
+ 'doctrine_annotation_array_assignment ' => false ,
126
+ 'doctrine_annotation_braces ' => false ,
127
+ 'doctrine_annotation_indentation ' => false ,
128
+ 'doctrine_annotation_spaces ' => false ,
129
+ 'echo_tag_syntax ' => [
121
130
'format ' => 'short ' ,
122
131
'long_function ' => 'echo ' ,
123
132
'shorten_simple_statements_only ' => false ,
0 commit comments