Source: php-gettext-languages
Version: 2.9.0-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-gettext-languages 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 --do-not-cache-result --bootstrap vendor/autoload.php
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml
> 
> ....S......                                                       11 / 11 
> (100%)
> 
> Time: 00:00.013, Memory: 8.00 MB
> 
> There were 2 PHPUnit errors:
> 
> 1) Gettext\Languages\Test\RulesTest::testRules
> The data provider specified for Gettext\Languages\Test\RulesTest::testRules 
> is invalid
> Data Provider method Gettext\Languages\Test\RulesTest::providerTestRules() is 
> not static
> 
> /<<PKGBUILDDIR>>/tests/test/RulesTest.php:34
> 
> 2) Gettext\Languages\Test\RulesTest::testExamplesExist
> The data provider specified for 
> Gettext\Languages\Test\RulesTest::testExamplesExist is invalid
> Data Provider method 
> Gettext\Languages\Test\RulesTest::providerTestExamplesExist() is not static
> 
> /<<PKGBUILDDIR>>/tests/test/RulesTest.php:75
> 
> --
> 
> There was 1 PHPUnit test runner warning:
> 
> 1) No tests found in class "Gettext\Languages\Test\RulesTest".
> 
> --
> 
> There were 2 PHPUnit test runner deprecations:
> 
> 1) Metadata found in doc-comment for method 
> Gettext\Languages\Test\RulesTest::testRules(). Metadata in doc-comments is 
> deprecated and will no longer be supported in PHPUnit 12. Update your test 
> code to use attributes instead.
> 
> 2) Metadata found in doc-comment for method 
> Gettext\Languages\Test\RulesTest::testExamplesExist(). 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: 11, Assertions: 1579, Errors: 2, Warnings: 1, Deprecations: 2, 
> Skipped: 1.
> 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/php-gettext-languages/php-gettext-languages_2.9.0-3+rebuild1714367320_amd64-2024-04-29T05:08:40Z.build

Reply via email to