moodle/enrol
Eloy Lafuente (stronk7) d95c378771 MDL-67673 phpunit: Remove expectedException annotations
While this is not strictly required, because removal will
happen in PHPUnit 9.0, we are already getting rid of all
uses in core.

From release notes:https://phpunit.de/announcements/phpunit-8.html

The annotations `@expectedException`, `@expectedExceptionCode`,
`@expectedExceptionMessage`, and `@expectedExceptionMessageRegExp`
are now deprecated.
Using these annotations will trigger a deprecation warning
in PHPUnit 8 and in PHPUnit 9 these annotations will be removed.

Also, all uses of expectExceptionMessageRegExp() has been moved
to expectExceptionMessageMatches(). See https://github.com/sebastianbergmann/phpunit/issues/3957

TODO: Various weirdness found while doing the changes with these tests:
- vendor/bin/phpunit lib/tests/exporter_test.php (created MDL-69700)
- vendor/bin/phpunit competency/tests/external_test.php (same issue than prev one)
- vendor/bin/phpunit question/engine/tests/questionengine_test.php (created MDL-69624)
- vendor/bin/phpunit lib/tests/event_test.php (created MDL-69688)
2020-10-21 12:46:00 +02:00
..
category MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
classes/privacy MDL-64782 core_enrol: Performance improvement 2019-04-23 17:01:48 +10:00
cohort MDL-63387 enrol_cohort: show both roles names in instance config form. 2020-09-01 12:05:20 +01:00
database MDL-69521 core: Move all comments in code from 4.1 to 3.11 2020-09-08 18:59:30 +02:00
flatfile MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
guest MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
imsenterprise MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
ldap Merge branch 'MDL-69521' of https://github.com/stronk7/moodle into master 2020-09-09 08:08:06 +02:00
lti MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
manual MDL-63387 enrol_manual: show both role names in enrol users dialog. 2020-09-01 12:05:20 +01:00
meta MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
mnet MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
paypal MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
self MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
tests MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
yui MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
ajax.php MDL-51401 enrol: ensures correct order of roles in UI components 2016-10-07 08:30:25 +01:00
bulkchange_forms.php
editenrolment.php MDL-66489 enrol: prevent warning when the duration field is disabled 2019-09-11 20:18:43 +10:00
editenrolment_form.php MDL-64032 enrol_manual: Make consistent the UI for setting enrolment 2019-07-23 14:21:43 +07:00
editinstance.php MDL-54046 enrol: Make docs urls match the old path 2016-05-06 09:27:34 +08:00
editinstance_form.php MDL-52035 core_enrol: allow redirection to another page 2016-04-26 15:58:08 +08:00
externallib.php MDL-68098 ws: Fix WebServices broken by filters HTML 2020-09-22 09:43:03 +02:00
index.php MDL-10965 courses: capability to browse course list 2019-04-10 12:35:28 +02:00
instances.php MDL-40759 icons: convert uses of pix_url to pix_icon 2017-03-17 15:52:17 +08:00
locallib.php MDL-66762 user: escape extra/email user fields. 2019-11-07 09:00:19 +08:00
otherusers.php MDL-51586 enrol: Enrolment table displays fullname properly. 2015-10-09 15:34:39 +08:00
README.txt
renderer.php MDL-66999 theme_boost: @extend remove extends for tables 2019-12-12 11:27:56 +01:00
test_settings.php MDL-29895 core: removed require_login() when not needed 2018-09-10 11:22:50 +02:00
unenroluser.php MDL-60179 core: make it clear what enrolment instance is being edited 2017-10-19 14:57:23 +08:00
upgrade.txt MDL-62485 enrol: Success message after enroll/unenroll user in a course 2019-10-24 13:43:27 -03:00
users_forms.php MDL-50666 core: Add function get_viewable_roles to set role visibility 2017-12-19 13:53:23 +13:00

ENROLMENT MODULES
-----------------

(Yes, that's the correct English spelling  ;-) )

All enrolment modules must extend base class enrol_plugin
which is defined in lib/enrollib.php. You can find documentation
of each method in the base class.