[pkg-php-pear] Bug#1070561: php-league-csv: FTBFS with phpunit 11: There were 23 PHPUnit errors
Fab Stz
fabstz-it at yahoo.fr
Sun Jul 21 09:49:49 BST 2024
Hello,
This would be fixed by updating to latest upstream, however we have to wait
until Debian migrates to a newer phpunit because changes for phpunit10/11 are
not backward compatible with phpunit 9.
Best regards
On Mon, 6 May 2024 11:18:08 -0300 Athos Ribeiro <athoscribeiro at gmail.com>
wrote:
> Source: php-league-csv
> Version: 9.9.0-1
> Severity: normal
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: pkg-php-pear at lists.alioth.debian.org
> Usertags: phpunit11
>
> Hi,
>
> phpunit 11 is out and is now available in experimental. During a test
rebuild,
> php-league-csv 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 --exclude-group network
> > PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> >
> > Runtime: PHP 8.2.18
> > Configuration: /<<PKGBUILDDIR>>/phpunit.xml
> >
> > ............................................................... 63 / 155
( 40%)
> > ............................................................... 126 / 155
( 81%)
> > ........sbb,one
> > ..................... 155 / 155 (100%)
> >
> > Time: 00:00.895, Memory: 18.00 MB
> >
> > There were 23 PHPUnit errors:
> >
> > 1) League\Csv\AbstractCsvTest::testGetInputBOM
> > The data provider specified for
League\Csv\AbstractCsvTest::testGetInputBOM is invalid
> > Data Provider method League\Csv\AbstractCsvTest::bomProvider() is not
static
> >
> > /<<PKGBUILDDIR>>/src/AbstractCsvTest.php:92
> >
> > 2) League\Csv\AbstractCsvTest::testStreamFilterMode
> > The data provider specified for
League\Csv\AbstractCsvTest::testStreamFilterMode is invalid
> > Data Provider method
League\Csv\AbstractCsvTest::provideCsvFilterTestingData() is not static
> >
> > /<<PKGBUILDDIR>>/src/AbstractCsvTest.php:242
> >
> > 3) League\Csv\AbstractCsvTest::testGetPathname
> > The data provider specified for
League\Csv\AbstractCsvTest::testGetPathname is invalid
> > Data Provider method League\Csv\AbstractCsvTest::getPathnameProvider() is
not static
> >
> > /<<PKGBUILDDIR>>/src/AbstractCsvTest.php:475
> >
> > 4) League\Csv\AbstractCsvTest::testGetPathnameRemote
> > The data provider specified for
League\Csv\AbstractCsvTest::testGetPathnameRemote is invalid
> > Data Provider method
League\Csv\AbstractCsvTest::getPathnameProviderRemote() is not static
> >
> > /<<PKGBUILDDIR>>/src/AbstractCsvTest.php:489
> >
> > 5) League\Csv\CharsetConverterTest::testConvertOnlyStringField
> > The data provider specified for
League\Csv\CharsetConverterTest::testConvertOnlyStringField is invalid
> > Data Provider method League\Csv\CharsetConverterTest::converterProvider()
is not static
More information about the pkg-php-pear
mailing list