moodle/competency
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-69667 competencies: fix competencies count always 0 in frameworks. 2020-09-21 23:19:52 +02:00
tests MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
lib.php MDL-65968 notifications: Use f1 size avatars for Push notifications 2019-09-17 16:29:02 +02:00
upgrade.txt MDL-63876 badges: Coding style 2019-03-29 11:31:15 +08:00