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

Document getObjectForTrait() #8

Closed
duncancumming opened this issue Jan 26, 2018 · 1 comment
Closed

Document getObjectForTrait() #8

duncancumming opened this issue Jan 26, 2018 · 1 comment
Assignees
Labels
missing Something is not yet documented

Comments

@duncancumming
Copy link

[This duplicates this ticket https://github.com/sebastianbergmann/phpunit-documentation/issues/345 which has been closed since the documentation was moved to separate projects per language]

There's no mention of the getObjectForTrait method in the documentation.

There was a blog article mentioning this method from 2011 https://sebastian-bergmann.de/archives/906-Testing-Traits.html but that seems to have vanished.

The undocumented code is in phpunit/src/Framework/TestCase.php

@sebastianbergmann sebastianbergmann added the missing Something is not yet documented label Feb 23, 2023
@sebastianbergmann sebastianbergmann self-assigned this Feb 23, 2023
@sebastianbergmann sebastianbergmann changed the title getObjectForTrait missing from documentation Document getObjectForTrait() Feb 23, 2023
@sebastianbergmann
Copy link
Owner

The getObjectForTrait() method is deprecated. Documenting it now is likely pointless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing Something is not yet documented
Projects
None yet
Development

No branches or pull requests

2 participants