moodle/search
Eloy Lafuente (stronk7) 35bc26b516 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:05 +02:00
..
amd MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +08:00
classes MDL-69521 core: Move all comments in code from 4.4 to 4.2 2020-09-08 19:01:42 +02:00
cli MDL-55356 core_search: Make indexing task/CLI do context requests 2017-10-11 17:17:10 +01:00
engine MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
templates MDL-65540 core_search: Explicit component name in the str helper 2019-05-09 15:29:02 +08:00
tests MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
index.php MDL-68729 Search: Allow query on one server while indexing another 2020-08-06 12:12:01 +01:00
upgrade.txt MDL-69479 upgrade: Change all 4.0 occurrences to 3.10 2020-08-24 14:08:46 +08:00