Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuperfluousPhpdocTags - Add remove_inheritdoc option #4500

Open
wants to merge 3 commits into
base: master
from

Conversation

@julienfalque
Copy link
Member

commented Aug 12, 2019

@inheritDoc is superfluous when not surrounded by text because it is already the default behavior.

@@ -1122,6 +1122,7 @@ Choose from the list of available rules:

- ``allow_mixed`` (``bool``): whether type ``mixed`` without description is allowed
(``true``) or considered superfluous (``false``); defaults to ``false``
- ``remove_inheritdoc`` (``bool``): remove ``@inheritDoc`` tags; defaults to ``false``

This comment has been minimized.

Copy link
@kubawerlos

kubawerlos Aug 12, 2019

Contributor

remove_superfluous_inheritdoc? Seeing remove_inheritdoc I'd expect all occurrences would be removed, not only

when not surrounded by text because it is already the default behavior.

This comment has been minimized.

Copy link
@julienfalque

julienfalque Aug 12, 2019

Author Member

I thought about it, but the name of the rule already says it's about superfluous tags. Wouldn't that be an unnecessary repetition?

julienfalque added some commits Aug 13, 2019

@julienfalque julienfalque marked this pull request as ready for review Aug 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.