moodle/mod/workshop/allocation/manual
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/privacy MDL-61905 workshop: Implement privacy API in assessment allocators 2018-05-09 10:01:50 +02:00
lang/en MDL-64943 lang: Import fixed English strings (en_fix) 2019-02-28 09:50:18 +01:00
tests MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
lib.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
renderer.php
styles.css MDL-55168 css: remove 0-length units 2016-09-30 09:25:25 +01:00
version.php MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00