moodle/contentbank
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-69454 core_search: consistent content bank search 2020-09-21 11:54:53 +02:00
classes MDL-69672 core_contentbank: Check used context level 2020-09-29 17:46:10 +02:00
contenttype/h5p MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
templates MDL-69454 core_search: consistent content bank search 2020-09-21 11:54:53 +02:00
tests MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
edit.php MDL-69672 core_contentbank: Check used context level 2020-09-29 17:46:10 +02:00
files_form.php MDL-69270 contentbank: replace content with file 2020-08-26 12:36:27 +02:00
index.php MDL-69672 core_contentbank: Check used context level 2020-09-29 17:46:10 +02:00
lib.php MDL-68796 core_contentbank: Store view preferences 2020-05-27 17:27:23 +02:00
upload.php MDL-69672 core_contentbank: Check used context level 2020-09-29 17:46:10 +02:00
view.php Merge branch 'MDL-69270-master' of git://github.com/ferranrecio/moodle 2020-09-01 07:26:02 +08:00