Source: twig-i18n-extension
Version: 4.1.1-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,
twig-i18n-extension 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):
> There were 12 PHPUnit errors:
> 
> 1) 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorDebugTest::testIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorDebugTest::testIntegration
>  is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorDebugTest::getTests()
>  is not static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionMoTranslatorDebugTest.php:80
> 
> 2) 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorDebugTest::testLegacyIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorDebugTest::testLegacyIntegration
>  is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorDebugTest::getLegacyTests()
>  is not static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionMoTranslatorDebugTest.php:90
> 
> 3) 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorSandboxTest::testIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorSandboxTest::testIntegration
>  is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorSandboxTest::getTests()
>  is not static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionMoTranslatorSandboxTest.php:80
> 
> 4) 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorSandboxTest::testLegacyIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorSandboxTest::testLegacyIntegration
>  is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorSandboxTest::getLegacyTests()
>  is not static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionMoTranslatorSandboxTest.php:90
> 
> 5) 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorTest::testIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorTest::testIntegration
>  is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorTest::getTests()
>  is not static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionMoTranslatorTest.php:80
> 
> 6) 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorTest::testLegacyIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorTest::testLegacyIntegration
>  is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorTest::getLegacyTests()
>  is not static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionMoTranslatorTest.php:90
> 
> 7) 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionSandboxTest::testIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionSandboxTest::testIntegration
>  is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionSandboxTest::getTests() is 
> not static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionSandboxTest.php:80
> 
> 8) 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionSandboxTest::testLegacyIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionSandboxTest::testLegacyIntegration
>  is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionSandboxTest::getLegacyTests()
>  is not static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionSandboxTest.php:90
> 
> 9) PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionTest::testIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionTest::testIntegration is 
> invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionTest::getTests() is not 
> static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionTest.php:80
> 
> 10) 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionTest::testLegacyIntegration
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionTest::testLegacyIntegration
>  is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionTest::getLegacyTests() is 
> not static
> 
> /<<PKGBUILDDIR>>/test/I18nExtensionTest.php:90
> 
> 11) PhpMyAdmin\Tests\Twig\Extensions\Node\MoTranslatorTransTest::testCompile
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\MoTranslatorTransTest::testCompile is 
> invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\MoTranslatorTransTest::getTests() is 
> not static
> 
> /<<PKGBUILDDIR>>/test/Node/MoTranslatorTransTest.php:27
> 
> 12) PhpMyAdmin\Tests\Twig\Extensions\Node\TransTest::testCompile
> The data provider specified for 
> PhpMyAdmin\Tests\Twig\Extensions\Node\TransTest::testCompile is invalid
> Data Provider method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\TransTest::getTests() is not static
> 
> /<<PKGBUILDDIR>>/test/Node/TransTest.php:27
> 
> --
> 
> There was 1 PHPUnit test runner warning:
> 
> 1) No tests found in class 
> "PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorTest".
> 
> --
> 
> There were 13 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 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorDebugTest::testIntegration().
>  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 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorDebugTest::testLegacyIntegration().
>  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 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorSandboxTest::testIntegration().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 5) Metadata found in doc-comment for method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorSandboxTest::testLegacyIntegration().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 6) Metadata found in doc-comment for method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorTest::testIntegration().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 7) Metadata found in doc-comment for method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionMoTranslatorTest::testLegacyIntegration().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 8) Metadata found in doc-comment for method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionSandboxTest::testIntegration().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 9) Metadata found in doc-comment for method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionSandboxTest::testLegacyIntegration().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 10) Metadata found in doc-comment for method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionTest::testIntegration(). 
> Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 11) Metadata found in doc-comment for method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\I18nExtensionTest::testLegacyIntegration().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 12) Metadata found in doc-comment for method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\MoTranslatorTransTest::testCompile(). 
> Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 13) Metadata found in doc-comment for method 
> PhpMyAdmin\Tests\Twig\Extensions\Node\TransTest::testCompile(). 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: 9, Assertions: 23, Errors: 12, Warnings: 1, Deprecations: 13.
> make[1]: *** [debian/rules:20: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/twig-i18n-extension/twig-i18n-extension_4.1.1-1+rebuild1714380332_amd64-2024-04-29T08:45:33Z.build

Reply via email to