Source: php-mockery Version: 1.6.11-2 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-mockery 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 --include-path library > PHP Deprecated: Optional parameter $bar declared before required parameter > $baz is implicitly treated as a required parameter in > /<<PKGBUILDDIR>>/tests/Mockery/ContainerTest.php on line 1867 > PHPUnit 11.1.2 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.18 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist > > .....SPHP Fatal error: Trait > "PHPUnit\Framework\TestListenerDefaultImplementation" not found in > /<<PKGBUILDDIR>>/library/Mockery/Adapter/Phpunit/TestListener.php on line 18 > make[1]: *** [debian/rules:26: override_dh_auto_test] Error 255 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-mockery/php-mockery_1.6.11-2+rebuild1714781186_amd64-2024-05-04T00:06:28Z.build