Skip to content

Commit e4f6230

Browse files
localheinzsebastianbergmann
authored andcommitted
Enhancement: Configure tokens for no_extra_blank_lines fixer
1 parent eb67c10 commit e4f6230

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.php-cs-fixer.dist.php

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,24 @@
163163
'no_empty_comment' => true,
164164
'no_empty_phpdoc' => true,
165165
'no_empty_statement' => true,
166-
'no_extra_blank_lines' => true,
166+
'no_extra_blank_lines' => [
167+
'tokens' => [
168+
'attribute',
169+
'break',
170+
'case',
171+
'continue',
172+
'curly_brace_block',
173+
'default',
174+
'extra',
175+
'parenthesis_brace_block',
176+
'return',
177+
'square_brace_block',
178+
'switch',
179+
'throw',
180+
'use',
181+
'use_trait',
182+
],
183+
],
167184
'no_homoglyph_names' => true,
168185
'no_leading_import_slash' => true,
169186
'no_leading_namespace_whitespace' => true,

0 commit comments

Comments
 (0)