@@ -65,8 +65,12 @@ public function __construct()
6565 ],
6666 ],
6767 'blank_line_between_import_groups ' => true ,
68- 'cast_spaces ' => ['space ' => 'single ' ],
69- 'class_attributes_separation ' => [
68+ 'blank_lines_before_namespace ' => [
69+ 'min_line_breaks ' => 2 ,
70+ 'max_line_breaks ' => 2 ,
71+ ],
72+ 'cast_spaces ' => ['space ' => 'single ' ],
73+ 'class_attributes_separation ' => [
7074 'elements ' => [
7175 'const ' => 'none ' ,
7276 'property ' => 'none ' ,
@@ -144,8 +148,8 @@ public function __construct()
144148 'explicit_string_variable ' => true ,
145149 'final_class ' => false ,
146150 'final_internal_class ' => [
147- 'annotation_exclude ' => ['@ no-final ' ],
148- 'annotation_include ' => ['@ internal ' ],
151+ 'exclude ' => ['no-final ' ],
152+ 'include ' => ['internal ' ],
149153 'consider_absent_docblock_as_internal_class ' => false ,
150154 ],
151155 'final_public_method_for_abstract_class ' => false ,
@@ -234,7 +238,6 @@ public function __construct()
234238 'no_binary_string ' => true ,
235239 'no_blank_lines_after_class_opening ' => true ,
236240 'no_blank_lines_after_phpdoc ' => true ,
237- 'no_blank_lines_before_namespace ' => false , // conflicts with `single_blank_line_before_namespace`
238241 'no_break_comment ' => ['comment_text ' => 'no break ' ],
239242 'no_closing_tag ' => true ,
240243 'no_empty_comment ' => true ,
@@ -501,7 +504,6 @@ public function __construct()
501504 'simplified_if_return ' => true ,
502505 'simplified_null_return ' => false ,
503506 'single_blank_line_at_eof ' => true ,
504- 'single_blank_line_before_namespace ' => true ,
505507 'single_class_element_per_statement ' => ['elements ' => ['const ' , 'property ' ]],
506508 'single_import_per_statement ' => ['group_to_single_imports ' => true ],
507509 'single_line_after_imports ' => true ,
0 commit comments