branchup / moodle-filter_shortcodes

Enables users to easily inject and modify content using shortcodes provided by other Moodle plugins.
14 stars 8 forks source link

Prepare for PHPUNIT 9 #2

Closed iplusacademy closed 3 years ago

iplusacademy commented 3 years ago

The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageMatches() instead.

I made a commit that fixes the problem in MOODLE_39_STABLE+ and the workflow proves it is fixed.

FMCorz commented 3 years ago

Thank you for the report, this was addressed using your commit ccec189262695b77b4a4c808f5145f1d5457ec4d. Thank you!