[pkg-php-pear] Bug#1070561: php-league-csv: FTBFS with phpunit 11: There were 23 PHPUnit errors
Athos Ribeiro
athoscribeiro at gmail.com
Mon May 6 15:18:08 BST 2024
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
>
> /<<PKGBUILDDIR>>/src/CharsetConverterTest.php:166
>
> 6) League\Csv\CharsetConverterTest::testItSkipBOMSequenceBeforeConsumingTheCSVStream
> The data provider specified for League\Csv\CharsetConverterTest::testItSkipBOMSequenceBeforeConsumingTheCSVStream is invalid
> Data Provider method League\Csv\CharsetConverterTest::providesBOMSequences() is not static
>
> /<<PKGBUILDDIR>>/src/CharsetConverterTest.php:217
>
> 7) League\Csv\CharsetConverterTest::testItOnlySkipOnceTheBOMSequenceBeforeConsumingTheCSVStreamOnMultipleLine
> The data provider specified for League\Csv\CharsetConverterTest::testItOnlySkipOnceTheBOMSequenceBeforeConsumingTheCSVStreamOnMultipleLine is invalid
> Data Provider method League\Csv\CharsetConverterTest::providesBOMSequences() is not static
>
> /<<PKGBUILDDIR>>/src/CharsetConverterTest.php:237
>
> 8) League\Csv\CharsetConverterTest::testItOnlySkipOnceTheBOMSequenceBeforeConsumingTheCSVStreamOnSingleLine
> The data provider specified for League\Csv\CharsetConverterTest::testItOnlySkipOnceTheBOMSequenceBeforeConsumingTheCSVStreamOnSingleLine is invalid
> Data Provider method League\Csv\CharsetConverterTest::providesBOMSequences() is not static
>
> /<<PKGBUILDDIR>>/src/CharsetConverterTest.php:257
>
> 9) League\Csv\EncloseFieldTest::testOnCreateFailedWithWrongParams
> The data provider specified for League\Csv\EncloseFieldTest::testOnCreateFailedWithWrongParams is invalid
> Data Provider method League\Csv\EncloseFieldTest::wrongParamProvider() is not static
>
> /<<PKGBUILDDIR>>/src/EncloseFieldTest.php:72
>
> 10) League\Csv\InfoTest::testByteSequenceMatch
> The data provider specified for League\Csv\InfoTest::testByteSequenceMatch is invalid
> Data Provider method League\Csv\InfoTest::ByteSequenceMatchProvider() is not static
>
> /<<PKGBUILDDIR>>/src/InfoTest.php:112
>
> 11) League\Csv\RFC4180FieldTest::testStreamFilterOnWrite
> The data provider specified for League\Csv\RFC4180FieldTest::testStreamFilterOnWrite is invalid
> Data Provider method League\Csv\RFC4180FieldTest::bugsProvider() is not static
>
> /<<PKGBUILDDIR>>/src/RFC4180FieldTest.php:43
>
> 12) League\Csv\RFC4180FieldTest::testStreamFilterOnRead
> The data provider specified for League\Csv\RFC4180FieldTest::testStreamFilterOnRead is invalid
> Data Provider method League\Csv\RFC4180FieldTest::readerBugsProvider() is not static
>
> /<<PKGBUILDDIR>>/src/RFC4180FieldTest.php:79
>
> 13) League\Csv\RFC4180FieldTest::testOnCreateFailedWithWrongParams
> The data provider specified for League\Csv\RFC4180FieldTest::testOnCreateFailedWithWrongParams is invalid
> Data Provider method League\Csv\RFC4180FieldTest::wrongParamProvider() is not static
>
> /<<PKGBUILDDIR>>/src/RFC4180FieldTest.php:111
>
> 14) League\Csv\ReaderTest::testStripBOM
> The data provider specified for League\Csv\ReaderTest::testStripBOM is invalid
> Data Provider method League\Csv\ReaderTest::validBOMSequences() is not static
>
> /<<PKGBUILDDIR>>/src/ReaderTest.php:256
>
> 15) League\Csv\ReaderTest::testAppliedFlags
> The data provider specified for League\Csv\ReaderTest::testAppliedFlags is invalid
> Data Provider method League\Csv\ReaderTest::appliedFlagsProvider() is not static
>
> /<<PKGBUILDDIR>>/src/ReaderTest.php:349
>
> 16) League\Csv\ReaderTest::testSkippingEmptyRecords
> The data provider specified for League\Csv\ReaderTest::testSkippingEmptyRecords is invalid
> Data Provider method League\Csv\ReaderTest::sourceProvider() is not static
>
> /<<PKGBUILDDIR>>/src/ReaderTest.php:482
>
> 17) League\Csv\ResultSetTest::testFetchColumnTriggersException
> The data provider specified for League\Csv\ResultSetTest::testFetchColumnTriggersException is invalid
> Data Provider method League\Csv\ResultSetTest::invalidFieldNameProvider() is not static
>
> /<<PKGBUILDDIR>>/src/ResultSetTest.php:97
>
> 18) League\Csv\ResultSetTest::testFetchPairsIteratorMode
> The data provider specified for League\Csv\ResultSetTest::testFetchPairsIteratorMode is invalid
> Data Provider method League\Csv\ResultSetTest::fetchPairsDataProvider() is not static
>
> /<<PKGBUILDDIR>>/src/ResultSetTest.php:287
>
> 19) League\Csv\StatementTest::testInterval
> The data provider specified for League\Csv\StatementTest::testInterval is invalid
> Data Provider method League\Csv\StatementTest::intervalTest() is not static
>
> /<<PKGBUILDDIR>>/src/StatementTest.php:113
>
> 20) League\Csv\StreamTest::testfputcsv
> The data provider specified for League\Csv\StreamTest::testfputcsv is invalid
> Data Provider method League\Csv\StreamTest::fputcsvProvider() is not static
>
> /<<PKGBUILDDIR>>/src/StreamTest.php:133
>
> 21) League\Csv\WriterTest::testInsertThrowsExceptionOnError
> The data provider specified for League\Csv\WriterTest::testInsertThrowsExceptionOnError is invalid
> Data Provider method League\Csv\WriterTest::inputDataProvider() is not static
>
> /<<PKGBUILDDIR>>/src/WriterTest.php:117
>
> 22) League\Csv\WriterTest::testSave
> The data provider specified for League\Csv\WriterTest::testSave is invalid
> Data Provider method League\Csv\WriterTest::dataToSave() is not static
>
> /<<PKGBUILDDIR>>/src/WriterTest.php:137
>
> 23) League\Csv\WriterTest::testRFC4180WriterMode
> The data provider specified for League\Csv\WriterTest::testRFC4180WriterMode is invalid
> Data Provider method League\Csv\WriterTest::compliantRFC4180Provider() is not static
>
> /<<PKGBUILDDIR>>/src/WriterTest.php:232
>
> --
>
> There was 1 PHPUnit test runner warning:
>
> 1) XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set
>
> --
>
> There were 261 PHPUnit test runner deprecations:
>
...
>
> ERRORS!
> Tests: 155, Assertions: 270, Errors: 23, Warnings: 1, Deprecations: 261.
> make[1]: *** [debian/rules:42: override_dh_auto_test] Error 2
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-league-csv/php-league-csv_9.9.0-1+rebuild1714780846_amd64-2024-05-04T00:00:47Z.build
More information about the pkg-php-pear
mailing list