Source: matthiasmullie-minify Version: 1.3.68-7 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, matthiasmullie-minify 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>>' > mkdir --parents vendor MatthiasMullie > ln -s ../src MatthiasMullie/Minify > phpab \ > --output vendor/autoload.php \ > --template debian/autoload.tests.php.tpl \ > tests > phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and > Contributors > > Scanning directory tests > > Autoload file vendor/autoload.php generated. > > ln -s ../data MatthiasMullie/Minify/data > phpunit > PHPUnit 11.1.2 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.18 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist > > ............................................................... 63 / 343 ( > 18%) > ............................................................... 126 / 343 ( > 36%) > ...........................DDD.DDDDSDDDDDDDDDDDDDDDDDDDDDDDDDDD 189 / 343 ( > 55%) > DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 252 / 343 ( > 73%) > DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 315 / 343 ( > 91%) > DDDDDDDDDDDDDDDDDDDDDDDDDDDD 343 / 343 > (100%) > > Time: 00:00.210, Memory: 16.00 MB > > There was 1 PHPUnit test runner warning: > > 1) No filter is configured, code coverage will not be processed > > -- > > There were 4 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 > MatthiasMullie\Minify\Test\CSSTest::testMinify(). 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 > MatthiasMullie\Minify\Test\CSSTest::testConvertRelativePath(). 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 > MatthiasMullie\Minify\Test\JSTest::testMinify(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > WARNINGS! > Tests: 343, Assertions: 352, Warnings: 1, Deprecations: 5, Skipped: 1. > make[1]: *** [debian/rules:18: override_dh_auto_test] Error 1 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/matthiasmullie-minify/matthiasmullie-minify_1.3.68-7+rebuild1714364868_amd64-2024-04-29T04:27:49Z.build