moodle/mod/choice
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
..
backup MDL-37745 mod_choice: Show taken and limit. 2020-07-26 00:08:37 +02:00
classes MDL-37745 mod_choice: Show taken and limit. 2020-07-26 00:08:37 +02:00
db MDL-37745 mod_choice: Show taken and limit. 2020-07-26 00:08:37 +02:00
lang/en MDL-69501 lang: Import fixed English strings (en_fix) 2020-08-24 09:35:41 +02:00
pix MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
tests MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
index.php MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
lib.php MDL-37745 mod_choice: Show taken and limit. 2020-07-26 00:08:37 +02:00
locallib.php MDL-68645 output: Do not apply filters when creating calendar events 2020-05-13 10:03:01 +02:00
mod_form.php MDL-37745 mod_choice: Show taken and limit. 2020-07-26 00:08:37 +02:00
renderer.php MDL-37745 mod_choice: Show taken and limit. 2020-07-26 00:08:37 +02:00
report.php MDL-68629 mod_choice: multilang coursename support 2020-05-07 15:49:13 +02:00
upgrade.txt MDL-59287 upgrade.txt: avoid misleading versions 2017-07-11 11:30:43 +01:00
version.php MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
view.php Merge branch 'MDL-2051-master-2' of git://github.com/junpataleta/moodle 2017-12-26 01:25:14 +01:00