[pkg-php-pear] PHPUnit status for Trixie (Was: Laravel status for Trixie)

David Prévot david at tilapin.org
Sun Feb 9 16:42:57 GMT 2025


Hi,

On 26/01/2025 14:50, David Prévot wrote:
[…]
> Spoiler alert: if the regressions are not on the nightmare scale of the 
> PHPUnit 9 -> 10 one, I’d like to give PHPUnit 12 a try for Trixie (we’ll 
> see how much autopkgtests are broken once ready in experimental)…

Out of the 198 packages with autopakgtest enabled using phpuint, 107 of 
them are failing their testsuite with PHPUnit 12 according to the 
experimental migration pseudo-excuses [1]. A quick look at some of the 
errors (and remembering the fixes we had to push for PHPUnit 10 and 
PHPUnit 11) makes me thing that many are related to the Test Doubles 
changes [2] and related MockBuilder removals that where already 
deprecated in PHPUnit 11 [3].

1: https://qa.debian.org/excuses.php?experimental=1&package=phpunit
2: https://phpunit.de/announcements/phpunit-12.html
3: 
https://github.com/sebastianbergmann/phpunit/blob/11.5/DEPRECATIONS.md#hard-deprecations

I doubt we’ll be able to make significant breakthroughs in the upcoming 
month, so we may be forced to release Trixie with PHPUnit 11 (already 
better than PHPUnit 9, but still…)

Regards,

taffit



More information about the pkg-php-pear mailing list