I have this kind of annotation in php files, to build my swagger :
/**
* @OA\Get(
* path="/additional_roles",
* tags={"additional_roles"},
* summary="Get list of additional roles",
* description="Returns list of additional roles",
Each time I run php-cs-fixer, then the annotation is replaced by :
/*
* @OA\Get(
* path="/additional_roles",
* tags={"additional_roles"},
* summary="Get list of additional roles",
* description="Returns list of additional roles",
See the tranformation /** ==> /* at the first line. Consequences : my swagger file is no more generated.
I have a .php_cs.dist file which contains some rules for php-cs-fixer. I am searching which parameter to change to prevent this transformation.
I tried to change this parameter/value :
'align_multiline_comment' => [
'comment_type' => 'phpdocs_only',
],
without success. What is the correct parameter to change in this configuration file ?