Skip to content

Commit

Permalink
Enhancement: Configure no_extra_consecutive_blank_lines fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 5, 2018
1 parent 153f495 commit f7548a8
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,22 @@ return PhpCsFixer\Config::create()
'no_blank_lines_after_class_opening' => true,
'no_blank_lines_after_phpdoc' => true,
'no_empty_phpdoc' => true,
'no_extra_consecutive_blank_lines' => true,
'no_extra_consecutive_blank_lines' => [
'tokens' => [
'break',
'case',
'continue',
'curly_brace_block',
'default',
'extra',
'parenthesis_brace_block',
'square_brace_block',
'switch',
'throw',
'use',
'use_trait',
],
],
'no_multiline_whitespace_around_double_arrow' => true,
'no_multiline_whitespace_before_semicolons' => true,
'no_singleline_whitespace_before_semicolons' => true,
Expand Down

0 comments on commit f7548a8

Please sign in to comment.