phpunit-documentation-english icon indicating copy to clipboard operation
phpunit-documentation-english copied to clipboard

assertContainsEquals is missing from documentation

Open mondrake opened this issue 4 years ago • 1 comments

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.

mondrake avatar Apr 20 '20 08:04 mondrake

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.)

alexekorn avatar Sep 14 '22 19:09 alexekorn

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.

sebastianbergmann avatar Feb 23 '23 06:02 sebastianbergmann