Source: php-getallheaders
Version: 3.0.3-3
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-getallheaders 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 --bootstrap src/getallheaders.php
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml
> 
> There was 1 PHPUnit error:
> 
> 1) getallheaders\Tests\GetAllHeadersTest::testWorks
> The data provider specified for 
> getallheaders\Tests\GetAllHeadersTest::testWorks is invalid
> Data Provider method getallheaders\Tests\GetAllHeadersTest::dataWorks() is 
> not static
> 
> /<<PKGBUILDDIR>>/tests/GetAllHeadersTest.php:12
> 
> --
> 
> There was 1 PHPUnit test runner warning:
> 
> 1) No tests found in class "getallheaders\Tests\GetAllHeadersTest".
> 
> --
> 
> There were 2 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 
> getallheaders\Tests\GetAllHeadersTest::testWorks(). Metadata in doc-comments 
> is deprecated and will no longer be supported in PHPUnit 12. Update your test 
> code to use attributes instead.
> 
> No tests executed!
> make[1]: *** [debian/rules:6: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-getallheaders/php-getallheaders_3.0.3-3+rebuild1714367263_amd64-2024-04-29T05:07:44Z.build

Reply via email to