moodle/grade/grading
Eloy Lafuente (stronk7) ddf72dd60d 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:05 +02:00
..
classes/privacy MDL-63167 grade: Deprecated gradingform_provider 2020-06-17 14:12:21 +08:00
form MDL-69192 mod_assign: Stop clicking OK on non-existent modal 2020-10-08 08:04:43 +08:00
tests MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:05 +02:00
yui/manage
lib.php MDL-67093 grading: Fetch cm with get_fast_modinfo 2019-11-01 08:49:12 +08:00
manage.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
pick.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
pick_form.php
renderer.php MDL-66999 theme_boost: @extend remove extends for grades 2019-12-12 11:27:58 +01:00