moodle/cohort
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
..
classes MDL-64782 core_cohort: Performance improvement 2019-04-23 17:01:48 +10:00
tests MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
assign.php
edit.php MDL-61238 cohort: require_once all libraries 2018-08-15 00:12:38 +02:00
edit_form.php MDL-67278 course: Use autocomplete widget for course category selector 2020-09-02 15:30:34 +02:00
externallib.php MDL-61601 cohort: Add theme support for cohorts 2018-04-06 08:28:01 +02:00
index.php MDL-69454 core_search: consistent cohort search 2020-09-21 11:54:53 +02:00
lib.php MDL-53566 core: Add support for context locking 2018-11-13 21:17:40 +08:00
locallib.php
upgrade.txt MDL-52568 core_cohort: added ability to return all cohorts in WS 2016-01-18 11:00:20 +01:00
upload.php MDL-64708 cohort: Return url is not used anywhere in core. 2019-05-08 17:54:44 +02:00
upload_form.php MDL-64708 cohort: Return url is not used anywhere in core. 2019-05-08 17:54:44 +02:00