This new minor release is a maintenance one, which drops support for older (and EOLed) PHP & Symfony versions; this allowed me to bump all the development dependencies and streamline the CI flow.
This new major version has seen its inception a long time ago, on October 2021, and it went to sleep for a long time, since PHPUnit development was doing the same. After some additional attempts, I was finally able to complete this alongside the long-awaited release of PHPUnit 10.
All the changes in PHPUnit allowed me to finally bump the minimum PHP version to 8.1 (so that
enums are now usable!) and do a big refactoring of internals, changing and simplifying the way tests outcome are handled. Also, I took the occasion to clean up all the additional options that were hard-coded, and add the
--pass-through option as a viable alternative.
The full changelog is small, the changes for the end user are small, but the code changes are a lot!
This new minor release comes after more than a year since the last tag.
It actually comes with a couple of new interesting features, one of which is a new behavior for tests parallelization. The new
--chunk-size option, when set at a value higher that
1, will execute more than one test class per single process, making the execution faster for test suites where the class setup is expensive.
This last small patch handles the same edge case as the previous one, for replaced packages. I also added a CI job to test against PHP 8.1, which is coming in less than 2 months!
This last small patch had to be rushed out due to a deprecation in Composer 2.0.14. This was triggering failures downstream, like in the Sentry SDK CI.