[pkg-php-pear] RFH: PHPUnit 9 compatibility [Was: Bug#976811: transition: php8.0]

David Prévot taffit at debian.org
Sun Dec 13 03:06:14 GMT 2020


Hi!

Le 11/12/2020 à 14:58, David Prévot a écrit :
>>> On 11. 12. 2020, at 17:38, David Prévot <taffit at debian.org> wrote:
>>> Le Tue, Dec 08, 2020 at 09:28:38AM +0100, Ondřej Surý a écrit :

>>>> I would like to transition the PHP to version 8.0;
> […]
> 
>>> PHPUnit 9
>>> is available from experimental, yet uploading to unstable would mean
>>> having to deal with dozens of breakage (in the FTBFS form):
>>>
>>> https://release.debian.org/britney/pseudo-excuses-experimental.html#phpunit 
> 
> In case the release team accepts Ondřej’s proposal, help fixing 
> testsuite for any of the aforementioned packages would be greatly 
> appreciated!

FWIW, I managed to upload roughly ten fixed packages [1], it might be 
useful to get an idea of what needs to fixed, and some example of fixes.

I also push partial fixes to some repositories [2] (I didn’t upload 
because there are remaining issues, e.g. PHPUnit 9 testsuite works on 
php7.4, but fails under php8.0).

If you are already familiar with any of the broken packages, I’d advise 
to start there. If not, my little experience after this first round is 
that actively maintained packages (recent upstream release, up to date 
in Debian) may be among the easiest to fix (I managed to cherry-pick one 
fix from upstream…).

Regards

David

1: php-doctrine-collections php-phpdocumentor-type-resolver 
php-tijsverkoyen-css-to-inline-styles php-hamcrest php-webmozart-assert 
php-doctrine-cache php-league-html-to-markdown php-json-schema 
php-mikey179-vfsstream php-directory-scanner php-fdomdocument

2: php-fxsl php-zend-code pdepend



More information about the pkg-php-pear mailing list