Allow inheritdoc and inheritDoc?

Created on 10 June 2019, over 5 years ago
Updated 31 January 2023, almost 2 years ago

So I have an issue that I just learned from klausi I should probably open here first.

Earlier this year phpstorm started autocompleting {@inheritdoc} to {@inheritDoc}. And the latter would generate an error in coder with the following message:

404 | ERROR | [ ] Doc comment short description must start with a capital letter
404 | ERROR | [x] Doc comment short description must end with a full stop

And changing that comment to {@inheritdoc} would again make the coding standards pass.

So basically, this issue is only that I am now kind of annoyed that I have to manually edit the autocompleted docblock. Which I assume is the case for several others. :)

So the question is: Should we change it? Should we allow both? What should we do? :)

Attached also a more informative explaination in form of a gif.

💬 Support request
Status

Fixed

Component

Coding Standards

Created by

🇳🇴Norway eiriksm Norway

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024