Source: php-doctrine-persistence Version: 3.1.4-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: pkg-php-p...@lists.alioth.debian.org Usertags: phpunit
Hi, We will start the phpunit 10 transition in unstable soon. During a test rebuild, php-doctrine-persistence was found to FTBFS. To reproduce this locally, you need to install the phpunit 10 package (and any other dependency, which should also be available) from experimental on an unstable system or build chroot. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > phpunit --bootstrap vendor/autoload.php > PHPUnit 10.2.2 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.7 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist > > D...........E.................................................. 63 / 122 ( > 51%) > ........................................................... 122 / 122 > (100%) > > Time: 00:00.032, Memory: 10.00 MB > > There was 1 PHPUnit test runner deprecation: > > 1) Your XML configuration validates against a deprecated schema. Migrate your > XML configuration using "--migrate-configuration"! > > -- > > There was 1 error: > > 1) > Doctrine\Tests\Persistence\Mapping\AbstractClassMetadataFactoryTest::testItSkipsTransientClasses > Error: Call to undefined method > PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive() > > /<<PKGBUILDDIR>>/tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php:22 > > -- > > 3 tests triggered 3 PHPUnit deprecations: > > 1) > Doctrine\Tests\Persistence\Mapping\ColocatedMappingDriverTest::testGetAllClassNames > Data Provider method > Doctrine\Tests\Persistence\Mapping\ColocatedMappingDriverTest::pathProvider() > is not static > > /<<PKGBUILDDIR>>/tests/Persistence/Mapping/ColocatedMappingDriverTest.php:58 > > 2) > Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::testGetClassNamesWithCustomNsSeparator > Data Provider method > Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::customNamespaceSeparatorProvider() > is not static > > /<<PKGBUILDDIR>>/tests/Persistence/Mapping/SymfonyFileLocatorTest.php:112 > > 3) > Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::testFindMappingFileWithCustomNsSeparator > Data Provider method > Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::customNamespaceLookupQueryProvider() > is not static > > /<<PKGBUILDDIR>>/tests/Persistence/Mapping/SymfonyFileLocatorTest.php:158 > > -- > > There was 1 risky test: > > 1) > Doctrine\Tests\Persistence\Mapping\AbstractClassMetadataFactoryTest::testItSkipsTransientClasses > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php:17 > > ERRORS! > Tests: 122, Assertions: 234, Errors: 1, Deprecations: 4, Risky: 1. > make[1]: *** [debian/rules:25: override_dh_auto_test] Error 2 The full build logs and additional context is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-doctrine-persistence/ A phpunit reverse-dependencies rebuild status is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html -- Athos Ribeiro