moodle/repository
Eloy Lafuente (stronk7) 2d693cda7a MDL-71036 phpunit: Mock->setMethods() silently deprecated
The current ->setMethods() has been silently (won't emit any
warning) in PHPUnit 9. And will stop working (current plans)
in PHPUnit 10.

Basically the now deprecated method has been split into:

- onlyMethods(): To point to existing methods in the mocked artifact.
- addMethods(): To point to non existing (yet) methods in the mocked
  artifact.

In practice that means that all our current setMethods() calls can be
converted to onlyMethods() (existing) and done. The addMethods() is
mostly useful on development phases, not final testing.

Finally note that <null> isn't accepted anymore as parameter to
double all the methods. Instead empty array [] must be used.

Link: https://github.com/sebastianbergmann/phpunit/issues/3770
2021-03-11 23:07:31 +01:00
..
areafiles MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
boxnet MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:28:39 +01:00
classes/privacy MDL-63785 core_repository: performance improvement 2018-12-10 14:52:12 +11:00
contentbank MDL-70429 repository_contentbank: set default returntype 2021-01-28 16:45:50 +01:00
coursefiles MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
dropbox MDL-71036 phpunit: Mock->setMethods() silently deprecated 2021-03-11 23:07:31 +01:00
equella MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
filesystem MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
flickr MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:28:39 +01:00
flickr_public MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
googledocs MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:28:39 +01:00
local MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
merlot MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
nextcloud MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
onedrive MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:28:39 +01:00
picasa MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:28:39 +01:00
recent MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
s3 MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
skydrive MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
tests MDL-70921 repository: filter function can not accept argument by ref 2021-02-25 18:25:05 +01:00
upload MDL-64554 user: make private files editor modal/ajax form 2021-02-17 18:09:42 +01:00
url MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
user MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
webdav MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
wikimedia MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
youtube MDL-70089 versions: bump all versions and requires near release 2020-11-03 19:34:52 +01:00
draftfiles_ajax.php MDL-37802 repository: return error if unzipping files fails. 2020-09-25 09:33:54 +01:00
draftfiles_manager.php MDL-42834 admin: Remove wwwroot if used with moodle_url 2017-10-23 12:25:36 +08:00
filepicker.js MDL-70041 filepicker: Make sure the user has a recently used license 2020-10-28 12:06:34 +08:00
filepicker.php MDL-42834 admin: Remove wwwroot if used with moodle_url 2017-10-23 12:25:36 +08:00
lib.php MDL-70921 repository: filter function can not accept argument by ref 2021-02-25 18:25:05 +01:00
manage_instances.php MDL-61098 repository: Retrieve correct context for repo instance 2017-12-21 11:33:11 +01:00
README.txt
repository_ajax.php MDL-61131 repositories: Added a key to verify incoming urls. 2018-01-09 11:34:37 +01:00
repository_callback.php MDL-59008 repository: add reload parent window support to callback 2017-07-03 13:41:58 +08:00
upgrade.txt MDL-59700 filestorage: Rework repositories to avoid add_file_to_pool 2017-08-07 15:50:15 +08:00

Repository API
==============

This directory contains all the interfaces and plugins for access to repositories.

   Specs:  http://docs.moodle.org/dev/Repository_API
   Track:  http://tracker.moodle.org/browse/MDL-13766