Source: baconqrcode Version: 2.0.8-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, baconqrcode 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 --exclude-group integration > PHPUnit 11.1.2 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.18 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist > > ....................................................... 55 / 55 > (100%) > > Time: 00:00.047, Memory: 10.00 MB > > There were 5 PHPUnit errors: > > 1) BaconQrCodeTest\Common\ReedSolomonCodecTest::testCodec > The data provider specified for > BaconQrCodeTest\Common\ReedSolomonCodecTest::testCodec is invalid > Data Provider method BaconQrCodeTest\Common\ReedSolomonCodecTest::tabs() is > not static > > /<<PKGBUILDDIR>>/test/Common/ReedSolomonCodecTest.php:28 > > 2) BaconQrCodeTest\Common\VersionTest::testVersionForNumber > The data provider specified for > BaconQrCodeTest\Common\VersionTest::testVersionForNumber is invalid > Data Provider method BaconQrCodeTest\Common\VersionTest::versions() is not > static > > /<<PKGBUILDDIR>>/test/Common/VersionTest.php:38 > > 3) BaconQrCodeTest\Common\VersionTest::testGetProvisionalVersionForDimension > The data provider specified for > BaconQrCodeTest\Common\VersionTest::testGetProvisionalVersionForDimension is > invalid > Data Provider method BaconQrCodeTest\Common\VersionTest::versions() is not > static > > /<<PKGBUILDDIR>>/test/Common/VersionTest.php:61 > > 4) BaconQrCodeTest\Common\VersionTest::testDecodeVersionInformation > The data provider specified for > BaconQrCodeTest\Common\VersionTest::testDecodeVersionInformation is invalid > Data Provider method BaconQrCodeTest\Common\VersionTest::decodeInformation() > is not static > > /<<PKGBUILDDIR>>/test/Common/VersionTest.php:72 > > 5) BaconQrCodeTest\Encoder\MaskUtilTest::testGetDatMaskBit > The data provider specified for > BaconQrCodeTest\Encoder\MaskUtilTest::testGetDatMaskBit is invalid > Data Provider method BaconQrCodeTest\Encoder\MaskUtilTest::dataMaskBits() is > not static > > /<<PKGBUILDDIR>>/test/Encoder/MaskUtilTest.php:85 > > -- > > There were 2 PHPUnit test runner warnings: > > 1) No tests found in class "BaconQrCodeTest\Common\ReedSolomonCodecTest". > > 2) No tests found in class "BaconQrCodeTest\Common\VersionTest". > > -- > > There were 9 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 > BaconQrCodeTest\Common\ReedSolomonCodecTest::testCodec(). 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 > BaconQrCodeTest\Common\VersionTest::testVersionForNumber(). 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 > BaconQrCodeTest\Common\VersionTest::testGetProvisionalVersionForDimension(). > 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 > BaconQrCodeTest\Common\VersionTest::testDecodeVersionInformation(). 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 > BaconQrCodeTest\Encoder\MaskUtilTest::testGetDatMaskBit(). 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 > BaconQrCodeTest\Integration\ImagickRenderingTest::testGenericQrCode(). > 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 class > BaconQrCodeTest\Integration\ImagickRenderingTest. 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 > BaconQrCodeTest\Integration\ImagickRenderingTest::testIssue79(). 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: 55, Assertions: 78949, Errors: 5, Warnings: 2, Deprecations: 9. > make[1]: *** [debian/rules:12: override_dh_auto_test] Error 2 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/baconqrcode/baconqrcode_2.0.8-3+rebuild1714364102_amd64-2024-04-29T04:15:03Z.build