@@ -56,7 +56,7 @@ return PhpCsFixer\Config::create()
56
56
'function_declaration ' => true ,
57
57
'function_to_constant ' => true ,
58
58
'function_typehint_space ' => true ,
59
- 'general_phpdoc_annotation_remove ' => false , // No use for that
59
+ 'general_phpdoc_annotation_remove ' => [ ' author ' , ' category ' , ' copyright ' , ' package ' , ' throws ' ],
60
60
'global_namespace_import ' => true ,
61
61
'hash_to_slash_comment ' => false , // Deprecated
62
62
'header_comment ' => false , // We don't use common header in all our files
@@ -177,7 +177,7 @@ return PhpCsFixer\Config::create()
177
177
'phpdoc_separation ' => true ,
178
178
'phpdoc_single_line_var_spacing ' => true ,
179
179
'phpdoc_summary ' => false , // We usually don't generate documentation so punctuation is not important
180
- 'phpdoc_to_comment ' => true ,
180
+ 'phpdoc_to_comment ' => false , // Cannot be used safely because of https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3011
181
181
'phpdoc_to_param_type ' => false , // Because experimental, but interesting for one shot use
182
182
'phpdoc_to_return_type ' => false , // idem
183
183
'phpdoc_trim ' => true ,
0 commit comments