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

Marco Villegas marco at marvil07.net
Mon Dec 14 14:00:02 GMT 2020


Hi!

I went over the list at britney to try to figure out what to do.
Please find below the updated list, and please correct me if I am wrong.
BTW I'm truly amazed on the amount of fixes added already, thanks!


On Sat, 12 Dec 2020 23:06:14 -0400
David wrote:
> 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


1. Fixed packages

php-directory-scanner
php-doctrine-cache (Not fully fixed? passes on arm64 but not on amd64)
php-doctrine-collections
php-fdomdocument
php-hamcrest
php-json-schema
php-league-html-to-markdown
php-mikey179-vfsstream
php-phpdocumentor-type-resolver
php-tijsverkoyen-css-to-inline-styles
php-webmozart-assert

2. Package git repository contains partial/full fixes

pdepend
php-fxsl
php-zend-code
phpmd
composer
php-amqplib
php-net-ldap2
php-netscape-bookmark-parser
php-nikic-fast-route
php-oscarotero-gettext
php-slim
php-text-captcha
php-zeta-base

3. Pending packages to fix

doctrine
php-composer-semver
php-doctrine-dbal
php-imagick
php-phpseclib
php-symfony-security-acl
php-twig
phpseclib

Best,

-Marco



More information about the pkg-php-pear mailing list