You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sebastianbergmann
changed the title
Deprecate assertContains() and assertNotContains()
Deprecate assertContains() and assertNotContains() for string haystacks
Nov 29, 2018
sebastianbergmann
changed the title
Deprecate assertContains() and assertNotContains() for string haystacks
Deprecate assertContains() and assertNotContains()
Nov 29, 2018
…ngContainsString (Wojciech Kania)
This PR was merged into the 5.0 branch.
Discussion
----------
[Testing] Change deprecated assertContains to assertStringContainsString
Symfony 5 requires PHP 7.2. PHPUnit Bridge for this version by default use [PHPUnit 8.3](https://symfony.com/doc/current/components/phpunit_bridge.html#modified-phpunit-script).
The assertContains is [deprecated](sebastianbergmann/phpunit#3425) and in PHPUnit 9 throws an error.
Commits
-------
e4d8c27 [Testing] Change deprecated assertContains to assertStringContainsString
See #3422 for migration path.
The text was updated successfully, but these errors were encountered: