AfterRiskyTestHook.php Interfaces, Classes, Traits and Enums AfterRiskyTestHook This interface, as well as the associated mechanism for extending PHPUnit, will be removed in PHPUnit 10. There is no alternative available in this version of PHPUnit.