mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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'
- Loading branch information
Showing
9 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters