moodle/enrol/self
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-63179 enrol_self: String and @return tag corrected. 2018-08-24 13:38:19 +02:00
cli MDL-37299 use progress_trace in enrol_manual and enrol_self sync 2012-12-29 21:50:32 +01:00
db MDL-45849 enrol_self: Added self enrol capability 2020-07-10 11:52:10 +10:00
lang/en MDL-45849 enrol_self: Added self enrol capability 2020-07-10 11:52:10 +10:00
pix MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
tests MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
bulkchangeforms.php MDL-60811 enrol_self: Add bulk action for self enrollment on users page 2018-04-03 19:29:44 +05:30
externallib.php MDL-10965 courses: capability to browse course list 2019-04-10 12:35:28 +02:00
lib.php MDL-45849 enrol_self: Added self enrol capability 2020-07-10 11:52:10 +10:00
locallib.php MDL-60811 enrol_self: Add bulk action for self enrollment on users page 2018-04-03 19:29:44 +05:30
settings.php MDL-55778 enrol_self: New string for 'Notify before..' options 2018-07-24 18:41:00 +02:00
unenrolself.php MDL-62485 enrol: Success message after enroll/unenroll user in a course 2019-10-24 13:43:27 -03:00
version.php MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00