Skip to content

Commit 0ceac03

Browse files
committed
Add ordered_types rule
1 parent 36fea83 commit 0ceac03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Config.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ protected function prepareRules() : void
219219
'sort_algorithm' => 'none',
220220
],
221221
'ordered_imports' => true,
222+
'ordered_types' => [
223+
'case_sensitive' => true,
224+
'null_adjustment' => 'always_last',
225+
],
222226
'php_unit_construct' => true,
223227
'phpdoc_add_missing_param_annotation' => true,
224228
'phpdoc_align' => false,

0 commit comments

Comments
 (0)