-
Bug
-
Resolution: Deferred
-
Minor
-
None
-
3.10
-
None
-
MOODLE_310_STABLE
Starting with PHPUnit 8.5, the @expectedExceptionXXX annotations are deprecated and, instead the ->expectExceptionXXX() methods should be used, exactly before the line that is going to throw the exception.
This issue is about to enable moodlecheck (or, if easier, codechecker) to be aware of this deprecation, starting to warn about it. Ideally, only for 310 and up, if that's possible.
- has been marked as being related by
-
MDL-67673 Upgrade phpunit to 8.5.x
- Closed