moodle/cohort
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-64782 core_cohort: Performance improvement 2019-04-23 17:01:48 +10:00
tests MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
assign.php MDL-36014 cohorts: fix string names 2014-10-03 17:56:22 +08:00
edit.php MDL-61238 cohort: require_once all libraries 2018-08-15 00:12:38 +02:00
edit_form.php MDL-67278 course: Use autocomplete widget for course category selector 2020-09-02 15:30:34 +02:00
externallib.php MDL-61601 cohort: Add theme support for cohorts 2018-04-06 08:28:01 +02:00
index.php MDL-69454 core_search: consistent cohort search 2020-09-21 11:54:53 +02:00
lib.php MDL-53566 core: Add support for context locking 2018-11-13 21:17:40 +08:00
locallib.php MDL-44142 Cohorts: Use maxusersperpage for list of current users. 2014-02-13 15:48:40 +00:00
upgrade.txt MDL-52568 core_cohort: added ability to return all cohorts in WS 2016-01-18 11:00:20 +01:00
upload.php MDL-64708 cohort: Return url is not used anywhere in core. 2019-05-08 17:54:44 +02:00
upload_form.php MDL-64708 cohort: Return url is not used anywhere in core. 2019-05-08 17:54:44 +02:00