moodle/lib/filestorage
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
..
tests MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
file_archive.php MDL-68137 core_files: replace consecutive dots in filename by single dot 2020-04-28 11:29:35 +02:00
file_exceptions.php MDL-44315 phpdoc: fixed up typos and made up tags 2014-02-24 09:13:31 +13:00
file_packer.php MDL-24343 core: Deprecate unzip_file 2016-08-03 09:05:55 +08:00
file_progress.php MDL-41838 Files: Implement .tar.gz packer (1 of 2) 2013-10-08 13:04:48 +01:00
file_storage.php MDL-68342 files: Add a faster xsendfile method to avoid db lookups 2020-04-27 16:11:34 +10:00
file_system.php MDL-68342 files: Add a faster xsendfile method to avoid db lookups 2020-04-27 16:11:34 +10:00
file_system_filedir.php MDL-35773 core_backup: use existing API to recover files 2019-07-26 11:59:56 +08:00
mbz_packer.php MDL-24343 core: Deprecate unzip_file 2016-08-03 09:05:55 +08:00
stored_file.php MDL-65115 core_files: Add get_total_content_size() in stored_file class 2020-09-08 08:54:26 +02:00
tgz_extractor.php MDL-43794 Files API Set the mtime of files to extraction time. 2014-01-22 11:06:39 -05:00
tgz_packer.php MDL-24343 core: Deprecate unzip_file 2016-08-03 09:05:55 +08:00
zip_archive.php MDL-68137 core_files: replace consecutive dots in filename by single dot 2020-04-28 11:29:35 +02:00
zip_packer.php MDL-24343 core: Deprecate unzip_file 2016-08-03 09:05:55 +08:00