moodle/mod/workshop/form
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
..
accumulative MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
comments MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
numerrors MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
rubric MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
assessment_form.php MDL-59248 mod_workshop: New WS get_assessment_form_definition 2017-10-03 08:51:30 +02:00
edit_form.php MDL-48165 workshop: Add support for assessment forms validation 2015-09-01 23:37:17 +02:00
lib.php MDL-60378 mod_workshop: Add missing dimensions info 2017-10-17 15:40:39 +02:00