Allow using multi-line docblocks for generated properties
Closed this issue · 0 comments
Gert-dev commented
Currently properties are always generated with a one-liner docblock, like so:
/** @var Type $test */
private $test;
It would be neat if there was an option for allowing the multi-line syntax as well:
/**
* @var Type $test
*/
private $test;
Some projects have rules pertaining to the format used, i.e. I believe Doctrine projects favor the first syntax, but rulesets (I think Slevomat, but I'm not sure?) allow enforcing the latter for consistency.
An alternative would be to allow configuring a template to use, but a new configuration option will do the job as well.
Thanks!