Skip to content

Commit 091924d

Browse files
committed
Fix: Use blank_lines_before_namespace instead of deprecated no_blank_lines_before_namespace fixer
1 parent 599c64f commit 091924d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.php-cs-fixer.dist.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
],
3131
],
3232
'blank_line_after_namespace' => true,
33+
'blank_lines_before_namespace' => [
34+
'min_line_breaks' => 0,
35+
'max_line_breaks' => 1,
36+
],
3337
'blank_line_before_statement' => [
3438
'statements' => [
3539
'break',
@@ -141,7 +145,6 @@
141145
'no_binary_string' => true,
142146
'no_blank_lines_after_class_opening' => true,
143147
'no_blank_lines_after_phpdoc' => true,
144-
'no_blank_lines_before_namespace' => true,
145148
'no_break_comment' => true,
146149
'no_closing_tag' => true,
147150
'no_empty_comment' => true,

0 commit comments

Comments
 (0)