Source: php-league-flysystem Version: 1.1.10-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-league-flysystem 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): > There was 1 PHPUnit test runner deprecation: > > 1) Your XML configuration validates against a deprecated schema. Migrate your > XML configuration using "--migrate-configuration"! > > -- > > There were 95 errors: > > 1) EmptyDirPluginTests::testPlugin > Error: Call to undefined method EmptyDirPluginTests::prophesize() > > /<<PKGBUILDDIR>>/tests/EmptyDirPluginTests.php:12 > > 2) League\Flysystem\FileTests::testRenameFails > Error: Call to undefined method League\Flysystem\FileTests::prophesize() > > /<<PKGBUILDDIR>>/tests/FileTests.php:136 > > 3) League\Flysystem\FileTests::testCopyFails > Error: Call to undefined method League\Flysystem\FileTests::prophesize() > > /<<PKGBUILDDIR>>/tests/FileTests.php:161 > ... > > -- > > There were 2 failures: > > 1) League\Flysystem\Adapter\LocalAdapterTests::testUnreadableFilesCauseAnError > Failed asserting that exception of type "Error" matches expected exception > "League\Flysystem\UnreadableFileException". Message was: "Call to undefined > method League\Flysystem\Adapter\LocalAdapterTests::prophesize()" at > /<<PKGBUILDDIR>>/tests/LocalAdapterTests.php:554 > . > > 2) MountManagerTests::testInvalidPrefix > Failed asserting that exception of type "Error" matches expected exception > "InvalidArgumentException". Message was: "Call to undefined method > MountManagerTests::prophesize()" at > /<<PKGBUILDDIR>>/tests/MountManagerTests.php:34 > . > > -- > > 20 tests triggered 20 PHPUnit deprecations: > > 1) League\Flysystem\Adapter\ContentListingFormatterTest::formatting_a_listing > Data Provider method > League\Flysystem\Adapter\ContentListingFormatterTest::formatterDataProvider() > is not static > > /<<PKGBUILDDIR>>/tests/ContentListingFormatterTest.php:15 > > 2) FilesystemTests::testSupplyingClosedStreams > Data Provider method > FilesystemTests::methodsThatGuardAgainstClosedResources() is not static > > /<<PKGBUILDDIR>>/tests/FilesystemTests.php:162 > > 3) FilesystemTests::testMetaGetterSuccess > Data Provider method FilesystemTests::metaGetterProvider() is not static > > /<<PKGBUILDDIR>>/tests/FilesystemTests.php:310 > ... > > -- > > There were 95 risky tests: > > 1) EmptyDirPluginTests::testPlugin > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/EmptyDirPluginTests.php:10 > > 2) League\Flysystem\FileTests::testRenameFails > This test did not perform any assertions > The full build logs and additional context is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-league-flysystem/ A phpunit reverse-dependencies rebuild status is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html -- Athos Ribeiro