[pkg-php-pear] Bug#1070554: php-http-psr7-integration-tests: FTBFS with phpunit 11: There were 15 PHPUnit errors
Athos Ribeiro
athoscribeiro at gmail.com
Mon May 6 15:17:10 BST 2024
Source: php-http-psr7-integration-tests
Version: 1.3.0-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-http-psr7-integration-tests 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 --testsuite Guzzle --exclude-group internet
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
>
> Runtime: PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
>
> ..S.....S..........................S.....S....................... 65 / 97 ( 67%)
> ............................SS.. 97 / 97 (100%)
>
> Time: 00:00.020, Memory: 10.00 MB
>
> There were 15 PHPUnit errors:
>
> 1) Http\Psr7Test\Tests\Guzzle\RequestTest::testMethodWithInvalidArguments
> The data provider specified for Http\Psr7Test\Tests\Guzzle\RequestTest::testMethodWithInvalidArguments is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\RequestTest::getInvalidMethods() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/RequestTest.php:97
>
> 2) Http\Psr7Test\Tests\Guzzle\RequestTest::testWithHeaderInvalidArguments
> The data provider specified for Http\Psr7Test\Tests\Guzzle\RequestTest::testWithHeaderInvalidArguments is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\RequestTest::getInvalidHeaderArguments() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/RequestTest.php:138
>
> 3) Http\Psr7Test\Tests\Guzzle\RequestTest::testWithAddedHeaderInvalidArguments
> The data provider specified for Http\Psr7Test\Tests\Guzzle\RequestTest::testWithAddedHeaderInvalidArguments is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\RequestTest::getInvalidHeaderArguments() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/RequestTest.php:191
>
> 4) Http\Psr7Test\Tests\Guzzle\ResponseTest::testStatusCodeInvalidArgument
> The data provider specified for Http\Psr7Test\Tests\Guzzle\ResponseTest::testStatusCodeInvalidArgument is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\ResponseTest::getInvalidStatusCodeArguments() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/ResponseTest.php:59
>
> 5) Http\Psr7Test\Tests\Guzzle\ResponseTest::testWithHeaderInvalidArguments
> The data provider specified for Http\Psr7Test\Tests\Guzzle\ResponseTest::testWithHeaderInvalidArguments is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\ResponseTest::getInvalidHeaderArguments() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/ResponseTest.php:138
>
> 6) Http\Psr7Test\Tests\Guzzle\ResponseTest::testWithAddedHeaderInvalidArguments
> The data provider specified for Http\Psr7Test\Tests\Guzzle\ResponseTest::testWithAddedHeaderInvalidArguments is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\ResponseTest::getInvalidHeaderArguments() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/ResponseTest.php:191
>
> 7) Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testMethodWithInvalidArguments
> The data provider specified for Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testMethodWithInvalidArguments is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::getInvalidMethods() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/ServerRequestTest.php:97
>
> 8) Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testWithHeaderInvalidArguments
> The data provider specified for Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testWithHeaderInvalidArguments is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::getInvalidHeaderArguments() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/ServerRequestTest.php:138
>
> 9) Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testWithAddedHeaderInvalidArguments
> The data provider specified for Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testWithAddedHeaderInvalidArguments is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::getInvalidHeaderArguments() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/ServerRequestTest.php:191
>
> 10) Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testGetParsedBody
> The data provider specified for Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testGetParsedBody is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::validParsedBodyParams() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/ServerRequestTest.php:91
>
> 11) Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testGetParsedBodyInvalid
> The data provider specified for Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testGetParsedBodyInvalid is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::invalidParsedBodyParams() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/ServerRequestTest.php:114
>
> 12) Http\Psr7Test\Tests\Guzzle\UriTest::testWithSchemeInvalidArguments
> The data provider specified for Http\Psr7Test\Tests\Guzzle\UriTest::testWithSchemeInvalidArguments is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\UriTest::getInvalidSchemaArguments() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/UriTest.php:48
>
> 13) Http\Psr7Test\Tests\Guzzle\UriTest::testPath
> The data provider specified for Http\Psr7Test\Tests\Guzzle\UriTest::testPath is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\UriTest::getPaths() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/UriTest.php:158
>
> 14) Http\Psr7Test\Tests\Guzzle\UriTest::testQuery
> The data provider specified for Http\Psr7Test\Tests\Guzzle\UriTest::testQuery is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\UriTest::getQueries() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/UriTest.php:182
>
> 15) Http\Psr7Test\Tests\Guzzle\UriTest::testFragment
> The data provider specified for Http\Psr7Test\Tests\Guzzle\UriTest::testFragment is invalid
> Data Provider method Http\Psr7Test\Tests\Guzzle\UriTest::getFragments() is not static
>
> /<<PKGBUILDDIR>>/tests/Guzzle/UriTest.php:205
>
> --
>
> There were 21 PHPUnit test runner deprecations:
>
> 1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!
>
> 2) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\RequestTest::testMethodWithInvalidArguments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 3) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\RequestTest::testWithHeaderInvalidArguments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 4) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\RequestTest::testWithAddedHeaderInvalidArguments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 5) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\ResponseTest::testStatusCodeInvalidArgument(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 6) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\ResponseTest::testWithHeaderInvalidArguments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 7) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\ResponseTest::testWithAddedHeaderInvalidArguments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 8) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testMethodWithInvalidArguments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 9) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testWithHeaderInvalidArguments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 10) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testWithAddedHeaderInvalidArguments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 11) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testGetParsedBody(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 12) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\ServerRequestTest::testGetParsedBodyInvalid(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 13) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\StreamTest::testIsNotSeekable(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 14) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\StreamTest::testIsNotWritable(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 15) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\StreamTest::testIsNotReadable(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 16) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\StreamTest::testRewindNotSeekable(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 17) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\UriTest::testWithSchemeInvalidArguments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 18) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\UriTest::testPath(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 19) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\UriTest::testQuery(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 20) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\UriTest::testFragment(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> 21) Metadata found in doc-comment for method Http\Psr7Test\Tests\Guzzle\UriTest::testStringRepresentationWithMultipleSlashes(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
>
> ERRORS!
> Tests: 97, Assertions: 256, Errors: 15, Deprecations: 21, Skipped: 6.
> make[1]: *** [debian/rules:18: override_dh_auto_test] Error 2
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-http-psr7-integration-tests/php-http-psr7-integration-tests_1.3.0-3+rebuild1714780561_amd64-2024-05-03T23:56:02Z.build
More information about the pkg-php-pear
mailing list