Source: dasprid-enum
Version: 1.0.5-1
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,
dasprid-enum 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>>'
> # keep in sync with debian/tests/control
> phpunit --no-coverage --bootstrap test/autoload.php
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> ...................................                               35 / 35 
> (100%)
> 
> Time: 00:00.007, Memory: 8.00 MB
> 
> There were 2 PHPUnit errors:
> 
> 1) DASPRiD\EnumTest\EnumMapTest::testPutInvalidValue
> The data provider specified for 
> DASPRiD\EnumTest\EnumMapTest::testPutInvalidValue is invalid
> Data Provider method DASPRiD\EnumTest\EnumMapTest::invalidValues() is not 
> static
> 
> /<<PKGBUILDDIR>>/test/EnumMapTest.php:115
> 
> 2) DASPRiD\EnumTest\EnumMapTest::testPutValidValue
> The data provider specified for 
> DASPRiD\EnumTest\EnumMapTest::testPutValidValue is invalid
> Data Provider method DASPRiD\EnumTest\EnumMapTest::validValues() is not static
> 
> /<<PKGBUILDDIR>>/test/EnumMapTest.php:146
> 
> --
> 
> There were 3 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 
> DASPRiD\EnumTest\EnumMapTest::testPutInvalidValue(). 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 
> DASPRiD\EnumTest\EnumMapTest::testPutValidValue(). 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: 35, Assertions: 50, Errors: 2, Deprecations: 3.
> make[1]: *** [debian/rules:19: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/dasprid-enum/dasprid-enum_1.0.5-1+rebuild1714364341_amd64-2024-04-29T04:19:02Z.build

Reply via email to