FIx deprecation in no_extra_blank_lines

This commit is contained in:
Yassine Guedidi 2022-08-01 19:16:02 +01:00 committed by Kevin Decherf
parent 569eca0396
commit 5d736d874c

View file

@ -11,6 +11,7 @@ return PhpCsFixer\Config::create()
'combine_consecutive_unsets' => true, 'combine_consecutive_unsets' => true,
'heredoc_to_nowdoc' => true, 'heredoc_to_nowdoc' => true,
'no_extra_blank_lines' => [ 'no_extra_blank_lines' => [
'tokens' => [
'break', 'break',
'continue', 'continue',
'extra', 'extra',
@ -21,6 +22,7 @@ return PhpCsFixer\Config::create()
'square_brace_block', 'square_brace_block',
'curly_brace_block' 'curly_brace_block'
], ],
],
'no_unreachable_default_argument_value' => true, 'no_unreachable_default_argument_value' => true,
'no_useless_else' => true, 'no_useless_else' => true,
'no_useless_return' => true, 'no_useless_return' => true,