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

DX: do not abuse "inheritdoc" tag #5663

Merged
merged 1 commit into from Apr 30, 2021
Merged

DX: do not abuse "inheritdoc" tag #5663

merged 1 commit into from Apr 30, 2021

Conversation

kubawerlos
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Apr 28, 2021

Coverage Status

Coverage remained the same at 91.892% when pulling 7da60a0 on kubawerlos:do_not_abuse_inheritdoc into f2e555a on FriendsOfPHP:2.18.

}

$parentClass = $rc;
while (false !== $parentClass = $parentClass->getParentClass()) {
Copy link
Member

Choose a reason for hiding this comment

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

should we also check interfaces and traits?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We check interfaces, see line 538, about traits I'm not sure, can we use @inheritdoc to inherit from trait? I've never seen such situation.

@kubawerlos kubawerlos added this to the 2.18.7 milestone Apr 28, 2021
@keradus
Copy link
Member

keradus commented Apr 30, 2021

Thank you @kubawerlos.

@keradus keradus merged commit 4961df4 into PHP-CS-Fixer:2.18 Apr 30, 2021
@kubawerlos kubawerlos deleted the do_not_abuse_inheritdoc branch April 30, 2021 19:03
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.

None yet

3 participants