MDL-80099 hooks: Add mechanism to deprecate class callbacks

This commit is contained in:
Mark Johnson
2024-03-20 14:58:16 +00:00
parent 39b8e198ff
commit 788556f652
14 changed files with 649 additions and 9 deletions
+3
View File
@@ -107,6 +107,9 @@ class phpunit_util extends testing_util {
// Stop all hook redirections.
\core\hook\manager::get_instance()->phpunit_stop_redirections();
// Reset the hook manager instance.
\core\hook\manager::phpunit_reset_instance();
// Stop any message redirection.
self::stop_message_redirection();