moodle/cache/tests
Eloy Lafuente (stronk7) cbf01aa79a MDL-71036 phpunit: Renamed various file-related assertions
In PHPUnit 9.1, the following file-related assertions
have been deprecated and there are new alternatives for
all them:
- assertNotIsReadable()         -> assertIsNotReadable()
- assertNotIsWritable()         -> assertIsNotWritable()
- assertDirectoryNotExists()    -> assertDirectoryDoesNotExist()
- assertDirectoryNotIsReadable()-> assertDirectoryIsNotReadable()
- assertDirectoryNotIsWritable()-> assertDirectoryIsNotWritable()
- assertFileNotExists()         -> assertFileDoesNotExist()
- assertFileNotIsReadable()     -> assertFileIsNotReadable()
- assertFileNotIsWritable()     -> assertFileIsNotWritable()

This is about to, simply, move all cases to the new alternatives.

Source: https://github.com/sebastianbergmann/phpunit/blob/9.1.0/ChangeLog-9.1.md

Regexp to find all them:

ag 'assertNotIsReadable|assertNotIsWritable|assertDirectoryNotExists|\
assertDirectoryNotIsReadable|assertDirectoryNotIsWritable|\
assertFileNotExists|assertFileNotIsReadable|assertFileNotIsWritable'
2021-03-11 23:07:30 +01:00
..
fixtures MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:05 +02:00
administration_helper_test.php MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:46:05 +02:00
cache_test.php MDL-71036 phpunit: Renamed various file-related assertions 2021-03-11 23:07:30 +01:00
config_writer_test.php MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:46:05 +02:00