Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Phpunit 9 #149
Due to some deprecations, I'm forced to change approach in how Paraunit collects the test results. This new approach uses the
It will lead to a cleaner approach, but it requires a good overhaul of the Paraunit internals.
With regards to test hooks: these will be superseded by the new event system @theseer, @localheinz, @epdenouden are working on (see theseer/phpunit#1). This will hopefully be merged soon in time for PHPUnit 9.1 (or PHPUnit 9.2).
Test listeners were problematic, got deprecated, but so far have not been removed. Hooks were a lot better than listeners already, but still left a lot to be desired. Hooks will be deprecated when the event system is merged. Everything inside PHPUnit that currently still uses listeners will be refactored to use events. Then, hopefully in PHPUnit 10, both listeners and hooks will be removed.