[pkg-php-pear] Bug#1070552: php-guzzlehttp-psr7: FTBFS with phpunit 11: E: There were 44 PHPUnit errors

Athos Ribeiro athoscribeiro at gmail.com
Mon May 6 15:16:52 BST 2024


Source: php-guzzlehttp-psr7
Version: 2.6.2-3
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-guzzlehttp-psr7 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):
> There were 44 PHPUnit errors:
> 
> 1) GuzzleHttp\Tests\Psr7\HeaderTest::testParseParams
> The data provider specified for GuzzleHttp\Tests\Psr7\HeaderTest::testParseParams is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\HeaderTest::parseParamsProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/HeaderTest.php:62
> 
> 2) GuzzleHttp\Tests\Psr7\HeaderTest::testNormalize
> The data provider specified for GuzzleHttp\Tests\Psr7\HeaderTest::testNormalize is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\HeaderTest::normalizeProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/HeaderTest.php:148
> 
> 3) GuzzleHttp\Tests\Psr7\HeaderTest::testSplitList
> The data provider specified for GuzzleHttp\Tests\Psr7\HeaderTest::testSplitList is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\HeaderTest::normalizeProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/HeaderTest.php:157
> 
> 4) GuzzleHttp\Tests\Psr7\QueryTest::testParsesQueries
> The data provider specified for GuzzleHttp\Tests\Psr7\QueryTest::testParsesQueries is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\QueryTest::parseQueryProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/QueryTest.php:56
> 
> 5) GuzzleHttp\Tests\Psr7\QueryTest::testParsesAndBuildsQueries
> The data provider specified for GuzzleHttp\Tests\Psr7\QueryTest::testParsesAndBuildsQueries is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\QueryTest::parseQueryProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/QueryTest.php:72
> 
> 6) GuzzleHttp\Tests\Psr7\RequestTest::testConstructWithInvalidMethods
> The data provider specified for GuzzleHttp\Tests\Psr7\RequestTest::testConstructWithInvalidMethods is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\RequestTest::invalidMethodsProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/RequestTest.php:101
> 
> 7) GuzzleHttp\Tests\Psr7\RequestTest::testWithInvalidMethods
> The data provider specified for GuzzleHttp\Tests\Psr7\RequestTest::testWithInvalidMethods is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\RequestTest::invalidMethodsProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/RequestTest.php:110
> 
> 8) GuzzleHttp\Tests\Psr7\RequestTest::testContainsNotAllowedCharsOnHeaderField
> The data provider specified for GuzzleHttp\Tests\Psr7\RequestTest::testContainsNotAllowedCharsOnHeaderField is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\RequestTest::provideHeadersContainingNotAllowedChars() is not static
> 
> /<<PKGBUILDDIR>>/tests/RequestTest.php:203
> 
> 9) GuzzleHttp\Tests\Psr7\RequestTest::testContainsAllowedCharsOnHeaderField
> The data provider specified for GuzzleHttp\Tests\Psr7\RequestTest::testContainsAllowedCharsOnHeaderField is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\RequestTest::provideHeadersContainsAllowedChar() is not static
> 
> /<<PKGBUILDDIR>>/tests/RequestTest.php:228
> 
> 10) GuzzleHttp\Tests\Psr7\RequestTest::testContainsNotAllowedCharsOnHeaderValue
> The data provider specified for GuzzleHttp\Tests\Psr7\RequestTest::testContainsNotAllowedCharsOnHeaderValue is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\RequestTest::provideHeaderValuesContainingNotAllowedChars() is not static
> 
> /<<PKGBUILDDIR>>/tests/RequestTest.php:312
> 
> 11) GuzzleHttp\Tests\Psr7\ResponseTest::testConstructResponseInvalidHeader
> The data provider specified for GuzzleHttp\Tests\Psr7\ResponseTest::testConstructResponseInvalidHeader is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\ResponseTest::invalidHeaderProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/ResponseTest.php:259
> 
> 12) GuzzleHttp\Tests\Psr7\ResponseTest::testWithInvalidHeader
> The data provider specified for GuzzleHttp\Tests\Psr7\ResponseTest::testWithInvalidHeader is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\ResponseTest::invalidWithHeaderProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/ResponseTest.php:278
> 
> 13) GuzzleHttp\Tests\Psr7\ResponseTest::testConstructResponseWithNonIntegerStatusCode
> The data provider specified for GuzzleHttp\Tests\Psr7\ResponseTest::testConstructResponseWithNonIntegerStatusCode is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\ResponseTest::nonIntegerStatusCodeProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/ResponseTest.php:330
> 
> 14) GuzzleHttp\Tests\Psr7\ResponseTest::testResponseChangeStatusCodeWithNonInteger
> The data provider specified for GuzzleHttp\Tests\Psr7\ResponseTest::testResponseChangeStatusCodeWithNonInteger is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\ResponseTest::nonIntegerStatusCodeProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/ResponseTest.php:341
> 
> 15) GuzzleHttp\Tests\Psr7\ResponseTest::testConstructResponseWithInvalidRangeStatusCode
> The data provider specified for GuzzleHttp\Tests\Psr7\ResponseTest::testConstructResponseWithInvalidRangeStatusCode is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\ResponseTest::invalidStatusCodeRangeProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/ResponseTest.php:364
> 
> 16) GuzzleHttp\Tests\Psr7\ResponseTest::testResponseChangeStatusCodeWithWithInvalidRange
> The data provider specified for GuzzleHttp\Tests\Psr7\ResponseTest::testResponseChangeStatusCodeWithWithInvalidRange is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\ResponseTest::invalidStatusCodeRangeProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/ResponseTest.php:376
> 
> 17) GuzzleHttp\Tests\Psr7\ServerRequestTest::testNormalizeFiles
> The data provider specified for GuzzleHttp\Tests\Psr7\ServerRequestTest::testNormalizeFiles is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\ServerRequestTest::dataNormalizeFiles() is not static
> 
> /<<PKGBUILDDIR>>/tests/ServerRequestTest.php:282
> 
> 18) GuzzleHttp\Tests\Psr7\ServerRequestTest::testGetUriFromGlobals
> The data provider specified for GuzzleHttp\Tests\Psr7\ServerRequestTest::testGetUriFromGlobals is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\ServerRequestTest::dataGetUriFromGlobals() is not static
> 
> /<<PKGBUILDDIR>>/tests/ServerRequestTest.php:375
> 
> 19) GuzzleHttp\Tests\Psr7\StreamTest::testGzipStreamModes
> The data provider specified for GuzzleHttp\Tests\Psr7\StreamTest::testGzipStreamModes is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\StreamTest::gzipModeProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/StreamTest.php:309
> 
> 20) GuzzleHttp\Tests\Psr7\StreamTest::testReadableStream
> The data provider specified for GuzzleHttp\Tests\Psr7\StreamTest::testReadableStream is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\StreamTest::readableModeProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/StreamTest.php:331
> 
> 21) GuzzleHttp\Tests\Psr7\StreamTest::testWritableStream
> The data provider specified for GuzzleHttp\Tests\Psr7\StreamTest::testWritableStream is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\StreamTest::writableModeProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/StreamTest.php:377
> 
> 22) GuzzleHttp\Tests\Psr7\UploadedFileTest::testRaisesExceptionOnInvalidStreamOrFile
> The data provider specified for GuzzleHttp\Tests\Psr7\UploadedFileTest::testRaisesExceptionOnInvalidStreamOrFile is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UploadedFileTest::invalidStreams() is not static
> 
> /<<PKGBUILDDIR>>/tests/UploadedFileTest.php:49
> 
> 23) GuzzleHttp\Tests\Psr7\UploadedFileTest::testMoveRaisesExceptionForInvalidPath
> The data provider specified for GuzzleHttp\Tests\Psr7\UploadedFileTest::testMoveRaisesExceptionForInvalidPath is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UploadedFileTest::invalidMovePaths() is not static
> 
> /<<PKGBUILDDIR>>/tests/UploadedFileTest.php:116
> 
> 24) GuzzleHttp\Tests\Psr7\UploadedFileTest::testConstructorDoesNotRaiseExceptionForInvalidStreamWhenErrorStatusPresent
> The data provider specified for GuzzleHttp\Tests\Psr7\UploadedFileTest::testConstructorDoesNotRaiseExceptionForInvalidStreamWhenErrorStatusPresent is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UploadedFileTest::nonOkErrorStatus() is not static
> 
> /<<PKGBUILDDIR>>/tests/UploadedFileTest.php:170
> 
> 25) GuzzleHttp\Tests\Psr7\UploadedFileTest::testMoveToRaisesExceptionWhenErrorStatusPresent
> The data provider specified for GuzzleHttp\Tests\Psr7\UploadedFileTest::testMoveToRaisesExceptionWhenErrorStatusPresent is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UploadedFileTest::nonOkErrorStatus() is not static
> 
> /<<PKGBUILDDIR>>/tests/UploadedFileTest.php:179
> 
> 26) GuzzleHttp\Tests\Psr7\UploadedFileTest::testGetStreamRaisesExceptionWhenErrorStatusPresent
> The data provider specified for GuzzleHttp\Tests\Psr7\UploadedFileTest::testGetStreamRaisesExceptionWhenErrorStatusPresent is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UploadedFileTest::nonOkErrorStatus() is not static
> 
> /<<PKGBUILDDIR>>/tests/UploadedFileTest.php:190
> 
> 27) GuzzleHttp\Tests\Psr7\UriComparatorTest::testIsCrossOrigin
> The data provider specified for GuzzleHttp\Tests\Psr7\UriComparatorTest::testIsCrossOrigin is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriComparatorTest::getCrossOriginExamples() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriComparatorTest.php:19
> 
> 28) GuzzleHttp\Tests\Psr7\UriNormalizerTest::testDecodeUnreservedCharacters
> The data provider specified for GuzzleHttp\Tests\Psr7\UriNormalizerTest::testDecodeUnreservedCharacters is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriNormalizerTest::getUnreservedCharacters() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriNormalizerTest.php:34
> 
> 29) GuzzleHttp\Tests\Psr7\UriNormalizerTest::testConvertEmptyPath
> The data provider specified for GuzzleHttp\Tests\Psr7\UriNormalizerTest::testConvertEmptyPath is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriNormalizerTest::getEmptyPathTestCases() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriNormalizerTest.php:62
> 
> 30) GuzzleHttp\Tests\Psr7\UriNormalizerTest::testIsEquivalent
> The data provider specified for GuzzleHttp\Tests\Psr7\UriNormalizerTest::testIsEquivalent is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriNormalizerTest::getEquivalentTestCases() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriNormalizerTest.php:158
> 
> 31) GuzzleHttp\Tests\Psr7\UriResolverTest::testResolveUri
> The data provider specified for GuzzleHttp\Tests\Psr7\UriResolverTest::testResolveUri is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriResolverTest::getResolveTestCases() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriResolverTest.php:22
> 
> 32) GuzzleHttp\Tests\Psr7\UriResolverTest::testRelativizeUri
> The data provider specified for GuzzleHttp\Tests\Psr7\UriResolverTest::testRelativizeUri is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriResolverTest::getResolveTestCases() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriResolverTest.php:38
> 
> 33) GuzzleHttp\Tests\Psr7\UriResolverTest::testRelativizeUriWithUniqueTests
> The data provider specified for GuzzleHttp\Tests\Psr7\UriResolverTest::testRelativizeUriWithUniqueTests is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriResolverTest::getRelativizeTestCases() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriResolverTest.php:59
> 
> 34) GuzzleHttp\Tests\Psr7\UriTest::testValidUrisStayValid
> The data provider specified for GuzzleHttp\Tests\Psr7\UriTest::testValidUrisStayValid is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriTest::getValidUris() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriTest.php:57
> 
> 35) GuzzleHttp\Tests\Psr7\UriTest::testFromParts
> The data provider specified for GuzzleHttp\Tests\Psr7\UriTest::testFromParts is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriTest::getValidUris() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriTest.php:67
> 
> 36) GuzzleHttp\Tests\Psr7\UriTest::testInvalidUrisThrowException
> The data provider specified for GuzzleHttp\Tests\Psr7\UriTest::testInvalidUrisThrowException is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriTest::getInvalidUris() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriTest.php:106
> 
> 37) GuzzleHttp\Tests\Psr7\UriTest::testIsDefaultPort
> The data provider specified for GuzzleHttp\Tests\Psr7\UriTest::testIsDefaultPort is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriTest::getPortTestCases() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriTest.php:211
> 
> 38) GuzzleHttp\Tests\Psr7\UriTest::testUriComponentsGetEncodedProperly
> The data provider specified for GuzzleHttp\Tests\Psr7\UriTest::testUriComponentsGetEncodedProperly is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UriTest::uriComponentsEncodingProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/UriTest.php:559
> 
> 39) GuzzleHttp\Tests\Psr7\UtilsTest::testCaselessRemove
> The data provider specified for GuzzleHttp\Tests\Psr7\UtilsTest::testCaselessRemove is invalid
> Data Provider method GuzzleHttp\Tests\Psr7\UtilsTest::providesCaselessRemoveCases() is not static
> 
> /<<PKGBUILDDIR>>/tests/UtilsTest.php:538
> 
> 40) Interop\Http\Factory\RequestFactoryTest::testCreateRequest
> The data provider specified for Interop\Http\Factory\RequestFactoryTest::testCreateRequest is invalid
> Data Provider method Interop\Http\Factory\RequestFactoryTest::dataMethods() is not static
> 
> /usr/share/php/Interop/Http/Factory/RequestFactoryTest.php:56
> 
> 41) Interop\Http\Factory\ResponseFactoryTest::testCreateResponse
> The data provider specified for Interop\Http\Factory\ResponseFactoryTest::testCreateResponse is invalid
> Data Provider method Interop\Http\Factory\ResponseFactoryTest::dataCodes() is not static
> 
> /usr/share/php/Interop/Http/Factory/ResponseFactoryTest.php:45
> 
> 42) Interop\Http\Factory\ServerRequestFactoryTest::testCreateServerRequest
> The data provider specified for Interop\Http\Factory\ServerRequestFactoryTest::testCreateServerRequest is invalid
> Data Provider method Interop\Http\Factory\ServerRequestFactoryTest::dataServer() is not static
> 
> /usr/share/php/Interop/Http/Factory/ServerRequestFactoryTest.php:74
> 
> 43) Interop\Http\Factory\ServerRequestFactoryTest::testCreateServerRequestFromArray
> The data provider specified for Interop\Http\Factory\ServerRequestFactoryTest::testCreateServerRequestFromArray is invalid
> Data Provider method Interop\Http\Factory\ServerRequestFactoryTest::dataServer() is not static
> 
> /usr/share/php/Interop/Http/Factory/ServerRequestFactoryTest.php:87
> 
> 44) Interop\Http\Factory\ServerRequestFactoryTest::testCreateServerRequestWithUriObject
> The data provider specified for Interop\Http\Factory\ServerRequestFactoryTest::testCreateServerRequestWithUriObject is invalid
> Data Provider method Interop\Http\Factory\ServerRequestFactoryTest::dataServer() is not static
> 
> /usr/share/php/Interop/Http/Factory/ServerRequestFactoryTest.php:100


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-guzzlehttp-psr7/php-guzzlehttp-psr7_2.6.2-3+rebuild1714367466_amd64-2024-04-29T05:11:07Z.build



More information about the pkg-php-pear mailing list