Source: php-code-lts-u2f-php-server
Version: 1.2.1-2
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@lists.alioth.debian.org
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
php-code-lts-u2f-php-server was found to fail to build with this new phpunit 
version.

To reproduce this locally, you need to install phpunit from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --no-coverage --bootstrap src/autoload.php
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml
> 
> ........................                                          24 / 24 
> (100%)
> 
> Time: 00:00.008, Memory: 8.00 MB
> 
> There was 1 PHPUnit error:
> 
> 1) CodeLts\U2F\U2FServer\Tests\U2FServerTest::testFixSignatureUnusedBits
> The data provider specified for 
> CodeLts\U2F\U2FServer\Tests\U2FServerTest::testFixSignatureUnusedBits is 
> invalid
> Data Provider method 
> CodeLts\U2F\U2FServer\Tests\U2FServerTest::dataProviderForFixSignatureUnusedBits()
>  is not static
> 
> /<<PKGBUILDDIR>>/test/U2FServerTest.php:144
> 
> --
> 
> There were 4 PHPUnit test runner deprecations:
> 
> 1) Your XML configuration validates against a deprecated schema. Migrate your 
> XML configuration using "--migrate-configuration"!
> 
> 2) Metadata found in doc-comment for method 
> CodeLts\U2F\U2FServer\Tests\U2FServerTest::testFixSignatureUnusedBits(). 
> Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 3) Metadata found in doc-comment for method 
> CodeLts\U2F\U2FServer\Tests\U2FServerTest::testCheckOpenSSLVersion(). 
> Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 4) Metadata found in doc-comment for method 
> CodeLts\U2F\U2FServer\Tests\U2FServerTest::testGetCerts(). Metadata in 
> doc-comments is deprecated and will no longer be supported in PHPUnit 12. 
> Update your test code to use attributes instead.
> 
> ERRORS!
> Tests: 24, Assertions: 65, Errors: 1, Deprecations: 4.
> make[1]: *** [debian/rules:11: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-code-lts-u2f-php-server/php-code-lts-u2f-php-server_1.2.1-2+rebuild1714365549_amd64-2024-04-29T04:39:10Z.build

Reply via email to