Skip to content

Commit c0ef4bb

Browse files
authored
[TASK] Add 'ordered_class_elements' like TYPO3 Core
See TYPO3/typo3@596f342
1 parent 5c6f355 commit c0ef4bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CsFixerConfig.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ class CsFixerConfig extends Config implements CsFixerConfigInterface
8383
'syntax' => 'question_mark',
8484
],
8585
'nullable_type_declaration_for_default_null_value' => true,
86+
'ordered_class_elements' => ['order' => ['use_trait', 'case', 'constant', 'property']],
8687
'ordered_imports' => ['imports_order' => ['class', 'function', 'const'], 'sort_algorithm' => 'alpha'],
8788
'php_unit_construct' => ['assertions' => ['assertEquals', 'assertSame', 'assertNotEquals', 'assertNotSame']],
8889
'php_unit_mock_short_will_return' => true,

0 commit comments

Comments
 (0)