Open Source

Paraunit 2.3.1: fix PHPUnit 11 support

I may have jumped the gun while releasing the PHPUnit 11 compat, and I didn’t check that the CI was actually installing it. Unfortunately there were multiple dependencies still conflicting with it, and Prophecy needed some PRs to be compatible. I filed them and used them in my CI, so that now the compatibility is checked.

I needed to do multiple changes to make the CI green, but still no code changes was needed, only a widening of composer.json constraints and some tests & CI fixes.

Paraunit 2.3.0: PHPUnit 11 support

On the same day of PHPUnit 11.0.0 release, I’m able to release a minor version of Paraunit that supports it, and no code change was necessary! You may still be impacted by PHPUnit’s breaking changes and require to adjust your tests accordingly, but Paraunit can be upgraded before with no hassle (provided that you have at least PHPUnit 10.5.4 already installed), since it’s cross-compatible between the two major versions.

Paraunit 2.2.2: PHPUnit 10.4 support

This is a small patch to smooth the compatibility with the new release of PHPUnit, 10.4. Previous versions would still work fine, but I took the time to fix all the tests (that were broken due to reliance on @internal code such as PHPUnit events) and to add support for the new CLI options regarding the errors baseline.