moodle/message/output
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
..
airnotifier MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
email MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
jabber MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
popup MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
lib.php MDL-64417 message: allow processors to run their own cleanup tasks. 2020-04-21 14:48:22 +01:00