PHP-CS-Fixer: phpdoc_short_description should not add a comma to inheritdoc

When a phpdoc description is only made by {@inheritdoc}, the phpdoc_short_description fixer should not add a final comma. With the current behavior, the final phpdoc description is {@inheritdoc}. (with final comma), while it should stay untouched, since the final comma is added to the description of parent (that is supposed to already have a final comma), ending with a double final comma.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 15 (10 by maintainers)

Most upvoted comments

ok Thanks very much. i will turn that rule off and check what is happening. This wasn’t the right place for this but you have lead me to a solution, so i’m a happy user thanks