Skip to content

Report @inheritDoc when there is no PHPDoc to inherit from#5583

Open
kubawerlos wants to merge 2 commits intophpstan:2.1.xfrom
6b7562617765726c6f73:invalid-inherit-doc-tag
Open

Report @inheritDoc when there is no PHPDoc to inherit from#5583
kubawerlos wants to merge 2 commits intophpstan:2.1.xfrom
6b7562617765726c6f73:invalid-inherit-doc-tag

Conversation

@kubawerlos
Copy link
Copy Markdown
Contributor

@VincentLanglet
Copy link
Copy Markdown
Contributor

I think we should distinguish two different case

Copy link
Copy Markdown
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The correct way to find parent methods is ParentMethodHelper.

@kubawerlos
Copy link
Copy Markdown
Contributor Author

@VincentLanglet do you mean as separate rules?

@ondrejmirtes
Copy link
Copy Markdown
Member

Not a class, but an error identifier for sure.

@kubawerlos kubawerlos force-pushed the invalid-inherit-doc-tag branch from bc204fc to fd71add Compare May 2, 2026 13:52
@kubawerlos kubawerlos requested a review from ondrejmirtes May 2, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants