Skip to content

Commit a0f342d

Browse files
committed
Remove 'use_trait' in 'no_extra_blank_lines' to fix deprecation warning
1 parent 8aff3a8 commit a0f342d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/PhpCsFixer/Rules.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ private static function getBaseRules(): array
138138
'no_extra_blank_lines' => [
139139
'tokens' => [
140140
'break', 'case', 'continue', 'curly_brace_block', 'default', 'extra', 'parenthesis_brace_block',
141-
'return', 'square_brace_block', 'throw', 'use_trait',
142-
// TODO: Add 'use' when php-cs-fixer #3582 is fixed
141+
'return', 'square_brace_block', 'throw',
143142
],
144143
],
145144
'class_attributes_separation' => [

0 commit comments

Comments
 (0)