PHPUnit 10: Why It’s Delayed, What It Brings | Sebastian Bergmann

PHPUnit 10 is delayed due to a new event system, but it will bring flexibility, extensibility, PHP attributes support, performance improvements, and more.

Key takeaways
  1. PHPUnit 10 is delayed due to the implementation of a new event system, which required significant refactoring and testing.

  2. The event system allows for more flexibility and extensibility in PHPUnit, making it easier for developers to write custom extensions and integrations.

  3. PHPUnit 10 will introduce support for PHP attributes, which can be used to provide metadata for code units, such as test cases and methods.

  4. The new event system in PHPUnit 10 will make it easier to track and debug test execution, as well as to create custom reports and visualizations.

  5. PHPUnit 10 will include a number of performance improvements, including reduced memory usage and faster execution times.

  6. PHPUnit 10 will continue to support older versions of PHP, but will eventually drop support for PHP 7.2 and earlier.

  7. The PHPUnit team is working on an API for extensions, which will allow developers to create custom extensions that can interact with the event system.

  8. PHPUnit 10 will include a new command-line option that provides raw access to the event log, making it easier to debug and troubleshoot test failures.

  9. The PHPUnit team is considering a new annual release schedule for PHPUnit, but this has not yet been finalized.

  10. The PHPUnit team is open to contributions from the community, including bug reports, feature requests, and code contributions.