moodle/admin/tool
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
..
analytics MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
availabilityconditions MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
behat MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
capability MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
cohortroles MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
customlang MDL-69583 tool_customlang: add CLI import 2020-10-14 11:59:17 +02:00
dataprivacy MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
dbtransfer MDL-69050 lang: Fix few remaining places spotted during integration 2020-10-01 13:02:48 +02:00
filetypes MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
generator MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
health MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
httpsreplace MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
innodb MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
installaddon MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:45:59 +02:00
langimport MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
licensemanager MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
log MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:45:59 +02:00
lp MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
lpimportcsv MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
lpmigrate MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
messageinbound MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
mobile MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
monitor MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
moodlenet MDL-69240 tool_moodlenet: Clean MoodleNet profile field 2020-09-07 17:44:41 +02:00
multilangupgrade MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
oauth2 MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
phpunit MDL-68705 testing: New CLI args to disable composer features 2020-08-20 20:12:54 +02:00
policy MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
profiling MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
recyclebin MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
replace MDL-69746 tool_replace: additional skip tables 2020-10-02 14:57:18 +10:00
spamcleaner MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
task MDL-69521 core: Move all comments in code from 4.3 to 4.1 2020-09-08 18:59:46 +02:00
templatelibrary MDL-69454 core_search: consistent template library search 2020-09-21 11:54:52 +02:00
unsuproles MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
uploadcourse MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
uploaduser MDL-65451 tool_uploaduser: move code away from index.php, add CLI script 2020-10-06 15:54:09 +02:00
usertours MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:45:59 +02:00
xmldb MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00
upgrade.txt MDL-61041 assign: Remove assignment 2.2 upgrader 2018-07-25 14:11:10 +08:00