@@ -56,7 +56,7 @@ return PhpCsFixer\Config::create()
5656 'function_declaration ' => true ,
5757 'function_to_constant ' => true ,
5858 'function_typehint_space ' => true ,
59- 'general_phpdoc_annotation_remove ' => false , // No use for that
59+ 'general_phpdoc_annotation_remove ' => [ ' author ' , ' category ' , ' copyright ' , ' package ' , ' throws ' ],
6060 'global_namespace_import ' => true ,
6161 'hash_to_slash_comment ' => false , // Deprecated
6262 'header_comment ' => false , // We don't use common header in all our files
@@ -177,7 +177,7 @@ return PhpCsFixer\Config::create()
177177 'phpdoc_separation ' => true ,
178178 'phpdoc_single_line_var_spacing ' => true ,
179179 '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
181181 'phpdoc_to_param_type ' => false , // Because experimental, but interesting for one shot use
182182 'phpdoc_to_return_type ' => false , // idem
183183 'phpdoc_trim ' => true ,
0 commit comments