Skip to content

Commit ea7ee29

Browse files
committed
Replace deprecated rules
- Rule "compact_nullable_typehint" is deprecated. Use "compact_nullable_type_declaration" instead. - Rule "escape_implicit_backslashes" is deprecated. Use "string_implicit_backslashes" instead. - Rule "native_function_type_declaration_casing" is deprecated. Use "native_type_declaration_casing" instead.
1 parent 6da38be commit ea7ee29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PhpCsFixer/Rules.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ private static function getBaseRules(): array
113113
'combine_consecutive_issets' => true,
114114
'combine_consecutive_unsets' => true,
115115
'combine_nested_dirname' => true,
116-
'compact_nullable_typehint' => true,
116+
'compact_nullable_type_declaration' => true,
117117
'concat_space' => [
118118
'spacing' => 'one',
119119
],
120120
'dir_constant' => true,
121-
'escape_implicit_backslashes' => true,
121+
'string_implicit_backslashes' => true,
122122
'explicit_indirect_variable' => true,
123123
'explicit_string_variable' => true,
124124
'fully_qualified_strict_types' => true,
@@ -141,7 +141,7 @@ private static function getBaseRules(): array
141141
'modernize_types_casting' => true,
142142
'multiline_comment_opening_closing' => true,
143143
'multiline_whitespace_before_semicolons' => true,
144-
'native_function_type_declaration_casing' => true,
144+
'native_type_declaration_casing' => true,
145145
'no_alias_functions' => true,
146146
'no_alternative_syntax' => true,
147147
'no_extra_blank_lines' => [

0 commit comments

Comments
 (0)