moodle/admin/tool/httpsreplace
Eloy Lafuente (stronk7) 40de097e65 MDL-67673 phpunit: Remove deprecated assertContains() uses on strings
Both assertContains() and assertNotContains() are deprecated in PHPUnit 8
for operations on strings. Also the optional case parameter is. All uses
must be changed to one of:

- assertStringContainsString()
- assertStringContainsStringIgnoringCase()
- assertStringNotContainsString()
- assertStringNotContainsStringIgnoringCase()

More info: https://github.com/sebastianbergmann/phpunit/issues/3422

Regexp to find all uses:

ag 'assert(Not)?Contains\('
2020-10-21 12:46:00 +02:00
..
classes MDL-61892 admin/tools: Implement null privacy providers 2018-04-20 11:41:20 +08:00
cli MDL-46269 tool_httpsreplace: Fix incorrect sorting 2017-10-18 19:46:26 +02:00
lang/en MDL-61892 admin/tools: Implement null privacy providers 2018-04-20 11:41:20 +08:00
tests MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
index.php MDL-29895 core: removed require_login() when not needed 2018-09-10 11:22:50 +02:00
settings.php MDL-46269 tool_httpsreplace: Add multiple steps 2017-10-16 16:11:15 +08:00
tool.php MDL-29895 core: removed require_login() when not needed 2018-09-10 11:22:50 +02:00
version.php MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00