mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
![]() 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' |
||
---|---|---|
.. | ||
fixtures | ||
administration_helper_test.php | ||
cache_test.php | ||
config_writer_test.php |