Skip to content

Commit 9dc957b

Browse files
authored
[CLEANUP] Move the nullable_type_declaration rule (#645)
It is now listed in the correct section. Also, as we're using the default configuration for this rule, we can use `true` for this instead of duplicating the default configuration.
1 parent 798e1ee commit 9dc957b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

config/php-cs-fixer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@
4141

4242
// function notation
4343
'native_function_invocation' => ['include' => ['@all']],
44-
'nullable_type_declaration' => [
45-
'syntax' => 'question_mark',
46-
],
4744
'nullable_type_declaration_for_default_null_value' => true,
4845

4946
// import
@@ -54,6 +51,7 @@
5451
'combine_consecutive_unsets' => true,
5552
'dir_constant' => true,
5653
'is_null' => true,
54+
'nullable_type_declaration' => true,
5755

5856
// namespace notation
5957
'no_leading_namespace_whitespace' => true,

0 commit comments

Comments
 (0)