@@ -86,11 +86,6 @@ protected function prepareRules() : void
8686 'encoding ' => true ,
8787 'ereg_to_preg ' => true ,
8888 'error_suppression ' => false ,
89- 'escape_implicit_backslashes ' => [
90- 'double_quoted ' => true ,
91- 'heredoc_syntax ' => true ,
92- 'single_quoted ' => false ,
93- ],
9489 'explicit_indirect_variable ' => true ,
9590 'explicit_string_variable ' => true ,
9691 'final_internal_class ' => false ,
@@ -101,7 +96,10 @@ protected function prepareRules() : void
10196 'closure_function_spacing ' => 'one ' ,
10297 ],
10398 'function_to_constant ' => true ,
104- 'general_phpdoc_annotation_remove ' => [],
99+ 'general_phpdoc_annotation_remove ' => [
100+ 'annotations ' => [],
101+ 'case_sensitive ' => true ,
102+ ],
105103 /*'header_comment' => [
106104 'comment_type' => 'comment',
107105 'header' => '',
@@ -275,6 +273,11 @@ protected function prepareRules() : void
275273 'standardize_not_equals ' => true ,
276274 'static_lambda ' => true ,
277275 'strict_comparison ' => true ,
276+ 'string_implicit_backslashes ' => [
277+ 'double_quoted ' => 'escape ' ,
278+ 'heredoc ' => 'escape ' ,
279+ 'single_quoted ' => 'unescape ' ,
280+ ],
278281 'strict_param ' => false ,
279282 'string_line_ending ' => true ,
280283 'switch_case_semicolon_to_colon ' => true ,
0 commit comments