moodle/grade
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
..
amd MDL-65948 core_grade: Use new core/checkbox-toggleall 2019-12-30 14:13:35 +08:00
classes MDL-67165 core_grade: Add the grader name to webservices 2019-12-17 10:46:02 +08:00
edit Merge branch 'master-MDL-68284' of https://github.com/yao9394/moodle 2020-10-20 08:48:05 +08:00
export MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
grading MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
import MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
report MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
templates MDL-65948 core_grade: Use new core/checkbox-toggleall 2019-12-30 14:13:35 +08:00
tests MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
index.php
lib.php MDL-68343 gradereport_singleview: fix empty links 2020-04-22 04:30:53 +10:00
querylib.php MDL-63422 general: review core loop / switch / case / continue 2018-10-31 00:17:59 +01:00
upgrade.txt Merge branch 'MDL-65044-master' of git://github.com/lameze/moodle 2019-03-27 22:47:30 +01:00