Skip to content

Commit 985bf6d

Browse files
authored
chore: add rule get_class_to_class_keyword (#202)
1 parent c61f46f commit 985bf6d

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

.php-cs-fixer.php

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
'spacing' => 'one'
2121
],
2222
'declare_strict_types' => true,
23+
'get_class_to_class_keyword' => false,
2324
'global_namespace_import' => false,
2425
'linebreak_after_opening_tag' => true,
2526
'mb_str_functions' => true,
@@ -28,21 +29,22 @@
2829
'@all'
2930
]
3031
],
31-
'no_php4_constructor' => true,
32-
'no_superfluous_phpdoc_tags' => false,
33-
'no_unreachable_default_argument_value' => true,
34-
'no_useless_else' => true,
35-
'no_useless_return' => true,
36-
'ordered_imports' => true,
37-
'php_unit_strict' => true,
38-
'phpdoc_order' => true,
39-
'semicolon_after_instruction' => true,
40-
'single_import_per_statement' => false,
41-
'strict_comparison' => true,
42-
'strict_param' => true,
43-
'single_line_throw' => false,
44-
'trailing_comma_in_multiline' => false,
45-
'yoda_style' => [
32+
'no_php4_constructor' => true,
33+
'no_superfluous_phpdoc_tags' => false,
34+
'no_unreachable_default_argument_value' => true,
35+
'no_useless_else' => true,
36+
'no_useless_return' => true,
37+
'nullable_type_declaration_for_default_null_value' => true,
38+
'ordered_imports' => true,
39+
'php_unit_strict' => true,
40+
'phpdoc_order' => true,
41+
'semicolon_after_instruction' => true,
42+
'single_import_per_statement' => false,
43+
'strict_comparison' => true,
44+
'strict_param' => true,
45+
'single_line_throw' => false,
46+
'trailing_comma_in_multiline' => false,
47+
'yoda_style' => [
4648
'equal' => false,
4749
'identical' => false,
4850
'less_and_greater' => false

0 commit comments

Comments
 (0)