-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
type/backward-compatibilitySomething will be/is intentionally brokenSomething will be/is intentionally broken
Milestone
Description
- Remove support for using
assertContains()andassertNotContains()onstringhaystacks - Remove the optional parameters
$ignoreCase,$checkForObjectIdentity, and$checkForNonObjectIdentityofassertContains()andassertNotContains() - Remove
Assert::contains() - Eliminate code duplication in
TraversableContainsEqualandTraversableContainsIdenticalby inheriting fromTraversableContains(which becomes an abstract base class for these two concrete classes) - Use
TraversableContainsIdenticalinAssert::assertContains()andAssert::assertNotContains()(this means thatassertContains()andassertNotContains()will perform strict comparisons starting with PHPUnit 9 where non-strict comparisons were performed in PHPUnit 8 and earlier; useassertContainsEqual()andassertNotContainsEqual()if you need non-strict comparison)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/backward-compatibilitySomething will be/is intentionally brokenSomething will be/is intentionally broken