Skip to content

Respect the @inheritDoc tag #56

@slaFFik

Description

@slaFFik

Expected Behavior

If the phpdoc contains either {@inheritDoc} or @inheritDoc - the WPForms.Comments.DescriptionStopSymbol.AddStopSymbol sniff should not be triggered.

I think in this case the Generic.Commenting.DocComment.MissingShort should be silenced as well.

Current Behavior

There is a totally valid inline tag {@inheritDoc} or @inheritDoc.

See more details here: https://docs.phpdoc.org/guide/guides/inheritance.html

And it is flagged by WPForms.Comments.DescriptionStopSymbol.AddStopSymbol where the ending dot should be added.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions