There are two competing styles for PHPDoc @var annotations on class properties:
1.
/**
* @var string
*/
private $name;
2.
/** @var string */
private $name;
It would be great to have a fixer configuring which one should be used and converting one to the other.
I'm closing this one as it's a duplicate of #2646 , and sadly #3061 and #3300
Would you mind to propose a PR to bring this feature alive, @hkdobrev ?
I'll add it to my TODO list and would see if I can create a useful PR. I'm very keen to fixing that in our app and enforcing it so I'll give it a go.
Most helpful comment
I'll add it to my TODO list and would see if I can create a useful PR. I'm very keen to fixing that in our app and enforcing it so I'll give it a go.