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

David Prévot david at tilapin.org
Mon Dec 14 15:28:48 GMT 2020


Hi Marco,

Le 14/12/2020 à 10:00, Marco Villegas a écrit :

> I went over the list at britney to try to figure out what to do.

Thank you!

> 1. Fixed packages
> 
> php-directory-scanner
> php-doctrine-cache (Not fully fixed? passes on arm64 but not on amd64)

The logged error is about a network issue (on localhost), maybe just a 
transient one…

> 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

There was also:

jsonlint
php-codesniffer
php-composer-spdx-licenses
php-deepcopy
php-email-validator
php-league-commonmark
php-netscape-bookmark-parser
php-nikic-fast-route
php-nyholm-psr7
php-sabre-vobject
php-text-password
php-zeta-console-tools
php-zeta-base
pkg-php-tools

(Couldn’t sleep tonight…)

> 2. Package git repository contains partial/full fixes
> 
> pdepend
> php-fxsl
(PHPUnit 9 fix uploaded, PHP 8.0 issue documented in #977373)> php-zend-code
(PHPUnit 9 fix uploaded, PHP 8.0 issue documented in #977376 to #977379)
> phpmd
> composer
I’d focus on composer 2 currently available on experimental: it already 
uses PHPUnit 9, but the autopkgtest needs fixing (help welcome!).
> php-amqplib
> php-net-ldap2
> php-netscape-bookmark-parser
> php-nikic-fast-route
(gone in the fixed table)
> php-oscarotero-gettext
> php-slim
> php-text-captcha
(needs fix in related packages, at least php-text-figlet, for PHP 8 
compatibility)
> php-zeta-base
(gone in the fixed table)

> 3. Pending packages to fix
> 
> doctrine
(might already fixed, my last two uploads are unrelated to these issues)
> php-composer-semver
(see composer remark above)
> php-doctrine-dbal
(could be on list 2: PHPUnit 9 compatibility should be ensured by 
*removing* the last patch ;).
> php-imagick
(something change in PHPT handling, help welcome!)
> php-phpseclib
(see phpseclib)
> php-symfony-security-acl
(help requested upstream):
	https://github.com/symfony/security-acl/issues/59
> php-twig
(could be on list 2: PHPUnit 9 compatibility should be ensured by 
*removing* the last patch ;).
> phpseclib
(it’s actually on list 2 ;)

I intend to circle back onto the second list, fixing PHPUnit 9 issue, 
and documenting the PHP 8.0 one via bug reports. Acting on these bug is 
welcome for the PHP 8.0 goal.

I now believe the PHPUnit 9 goal can be reached before the (transition) 
freeze, among the remaining issues (thank Marco for triaging), I could 
use some help at least with:

php-symfony-security-acl, help requested upstream:
	https://github.com/symfony/security-acl/issues/59)

composer : I’d focus on composer 2 currently available on experimental: 
it already uses PHPUnit 9, but the autopkgtest needs fixing

I’ll come back with more information once I’m done circling back on 
fixing PHPUnit 9 issues and documenting PHP 8.0 ones.

Regards

David



More information about the pkg-php-pear mailing list