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

assertContainsEquals is missing from documentation #190

Closed
mondrake opened this issue Apr 20, 2020 · 2 comments
Closed

assertContainsEquals is missing from documentation #190

mondrake opened this issue Apr 20, 2020 · 2 comments

Comments

@mondrake
Copy link

Q A
PHPUnit version 8+
PHP version n/a
Installation Method n/a

Summary

sebastianbergmann/phpunit#3511 introduced the method assertContainsEquals as a follow up to assertContains refactoring, but AFAICS it's not documented in the official manual.

@sebastianbergmann sebastianbergmann transferred this issue from sebastianbergmann/phpunit Apr 20, 2020
@alexekorn
Copy link
Sponsor

alexekorn commented Sep 14, 2022

This tripped me up for a bit today. Nice that assertContainsEquals() exists (and it behaves exactly as I would expect), but strange that it isn't documented. (Current PHPUnit version: 9.5.x.)

@sebastianbergmann
Copy link
Owner

This is now documented for PHPUnit >= 10. I do not think it's worth the effort to backport this to the documentation for PHPUnit < 10.

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

No branches or pull requests

3 participants