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,15 +11,17 @@ 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' => [
'break', 'tokens' => [
'continue', 'break',
'extra', 'continue',
'return', 'extra',
'throw', 'return',
'use', 'throw',
'parenthesis_brace_block', 'use',
'square_brace_block', 'parenthesis_brace_block',
'curly_brace_block' 'square_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,