[pkg-php-pear] PHPUnit status for Trixie
David Prévot
david at tilapin.org
Mon Feb 17 14:44:25 GMT 2025
Hi,
tl;dr: PHPUnit 12 in Trixie is still possible, help welcome to reach
this (late) goal.
On 09/02/2025 17:42, David Prévot wrote:
> On 26/01/2025 14:50, David Prévot wrote:
[…]
> 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].
Those numbers are a bit overwhelming, yet a week later, I already took
care of about thirty packages (almost a third of the issues).
Most fixes are actually pretty trivial: using proper attributes instead
of already deprecated metadata in doc-comments, e.g. the following patch
for DataProvider.
https://salsa.debian.org/php-team/pear/phpab/-/commit/406f78f0f4f14e8df6d58bae13f32748d1747fae
There are similar patches for Group, Depends, RequirePhp, etc. already
pushed in various packages.
> 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…)
The fixes are easy, but there is still a lot of packages to handle, and
some of them need a fair amount of fixes. I may not have enough free
time to take care of everything by myself, so your help is more than
welcome. Feel free to upload fixes, or patches via the BTS, salsa, and
ask for help or comment on list or IRC (#debian-php)…
Cheers,
taffit
P.-S.: I don’t follow salsa MR closely, so please tag me explicitly or
ping me here or on IRC if you request my attention.
More information about the pkg-php-pear
mailing list