Source: php-nyholm-psr7 Version: 1.8.1-2 Severity: normal Justification: FTBFS Tags: trixie sid ftbfs User: pkg-php-p...@lists.alioth.debian.org Usertags: phpunit11
Hi, phpunit 11 is out and is now available in experimental. During a test rebuild, php-nyholm-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): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > phpunit --testsuite='Unit tests' --bootstrap debian/autoload.php > --exclude-group internet > PHPUnit 11.1.2 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.18 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist > > ............................................................... 63 / 374 ( > 16%) > ............................................................... 126 / 374 ( > 33%) > ............................................................... 189 / 374 ( > 50%) > ............................................................... 252 / 374 ( > 67%) > ............................................................... 315 / 374 ( > 84%) > ........................................................... 374 / 374 > (100%) > > Time: 00:00.054, Memory: 14.00 MB > > There were 16 PHPUnit errors: > > 1) Tests\Nyholm\Psr7\Integration\RequestTest::testMethodWithInvalidArguments > The data provider specified for > Tests\Nyholm\Psr7\Integration\RequestTest::testMethodWithInvalidArguments is > invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\RequestTest::getInvalidMethods() is not static > > /<<PKGBUILDDIR>>/tests/Integration/RequestTest.php:97 > > 2) Tests\Nyholm\Psr7\Integration\RequestTest::testWithHeaderInvalidArguments > The data provider specified for > Tests\Nyholm\Psr7\Integration\RequestTest::testWithHeaderInvalidArguments is > invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\RequestTest::getInvalidHeaderArguments() is not > static > > /<<PKGBUILDDIR>>/tests/Integration/RequestTest.php:138 > > 3) > Tests\Nyholm\Psr7\Integration\RequestTest::testWithAddedHeaderInvalidArguments > The data provider specified for > Tests\Nyholm\Psr7\Integration\RequestTest::testWithAddedHeaderInvalidArguments > is invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\RequestTest::getInvalidHeaderArguments() is not > static > > /<<PKGBUILDDIR>>/tests/Integration/RequestTest.php:191 > > 4) Tests\Nyholm\Psr7\Integration\ResponseTest::testStatusCodeInvalidArgument > The data provider specified for > Tests\Nyholm\Psr7\Integration\ResponseTest::testStatusCodeInvalidArgument is > invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\ResponseTest::getInvalidStatusCodeArguments() > is not static > > /<<PKGBUILDDIR>>/tests/Integration/ResponseTest.php:59 > > 5) Tests\Nyholm\Psr7\Integration\ResponseTest::testWithHeaderInvalidArguments > The data provider specified for > Tests\Nyholm\Psr7\Integration\ResponseTest::testWithHeaderInvalidArguments is > invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\ResponseTest::getInvalidHeaderArguments() is > not static > > /<<PKGBUILDDIR>>/tests/Integration/ResponseTest.php:138 > > 6) > Tests\Nyholm\Psr7\Integration\ResponseTest::testWithAddedHeaderInvalidArguments > The data provider specified for > Tests\Nyholm\Psr7\Integration\ResponseTest::testWithAddedHeaderInvalidArguments > is invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\ResponseTest::getInvalidHeaderArguments() is > not static > > /<<PKGBUILDDIR>>/tests/Integration/ResponseTest.php:191 > > 7) > Tests\Nyholm\Psr7\Integration\ServerRequestTest::testMethodWithInvalidArguments > The data provider specified for > Tests\Nyholm\Psr7\Integration\ServerRequestTest::testMethodWithInvalidArguments > is invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\ServerRequestTest::getInvalidMethods() is not > static > > /<<PKGBUILDDIR>>/tests/Integration/ServerRequestTest.php:97 > > 8) > Tests\Nyholm\Psr7\Integration\ServerRequestTest::testWithHeaderInvalidArguments > The data provider specified for > Tests\Nyholm\Psr7\Integration\ServerRequestTest::testWithHeaderInvalidArguments > is invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\ServerRequestTest::getInvalidHeaderArguments() > is not static > > /<<PKGBUILDDIR>>/tests/Integration/ServerRequestTest.php:138 > > 9) > Tests\Nyholm\Psr7\Integration\ServerRequestTest::testWithAddedHeaderInvalidArguments > The data provider specified for > Tests\Nyholm\Psr7\Integration\ServerRequestTest::testWithAddedHeaderInvalidArguments > is invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\ServerRequestTest::getInvalidHeaderArguments() > is not static > > /<<PKGBUILDDIR>>/tests/Integration/ServerRequestTest.php:191 > > 10) Tests\Nyholm\Psr7\Integration\ServerRequestTest::testGetParsedBody > The data provider specified for > Tests\Nyholm\Psr7\Integration\ServerRequestTest::testGetParsedBody is invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\ServerRequestTest::validParsedBodyParams() is > not static > > /<<PKGBUILDDIR>>/tests/Integration/ServerRequestTest.php:91 > > 11) Tests\Nyholm\Psr7\Integration\ServerRequestTest::testGetParsedBodyInvalid > The data provider specified for > Tests\Nyholm\Psr7\Integration\ServerRequestTest::testGetParsedBodyInvalid is > invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\ServerRequestTest::invalidParsedBodyParams() is > not static > > /<<PKGBUILDDIR>>/tests/Integration/ServerRequestTest.php:114 > > 12) Tests\Nyholm\Psr7\Integration\UriTest::testWithSchemeInvalidArguments > The data provider specified for > Tests\Nyholm\Psr7\Integration\UriTest::testWithSchemeInvalidArguments is > invalid > Data Provider method > Tests\Nyholm\Psr7\Integration\UriTest::getInvalidSchemaArguments() is not > static > > /<<PKGBUILDDIR>>/tests/Integration/UriTest.php:48 > > 13) Tests\Nyholm\Psr7\Integration\UriTest::testPath > The data provider specified for > Tests\Nyholm\Psr7\Integration\UriTest::testPath is invalid > Data Provider method Tests\Nyholm\Psr7\Integration\UriTest::getPaths() is not > static > > /<<PKGBUILDDIR>>/tests/Integration/UriTest.php:158 > > 14) Tests\Nyholm\Psr7\Integration\UriTest::testQuery > The data provider specified for > Tests\Nyholm\Psr7\Integration\UriTest::testQuery is invalid > Data Provider method Tests\Nyholm\Psr7\Integration\UriTest::getQueries() is > not static > > /<<PKGBUILDDIR>>/tests/Integration/UriTest.php:182 > > 15) Tests\Nyholm\Psr7\Integration\UriTest::testFragment > The data provider specified for > Tests\Nyholm\Psr7\Integration\UriTest::testFragment is invalid > Data Provider method Tests\Nyholm\Psr7\Integration\UriTest::getFragments() is > not static > > /<<PKGBUILDDIR>>/tests/Integration/UriTest.php:205 > > 16) Tests\Nyholm\Psr7\ResponseTest::testWithInvalidHeader > The data provider specified for > Tests\Nyholm\Psr7\ResponseTest::testWithInvalidHeader is invalid > Data Provider method > Tests\Nyholm\Psr7\ResponseTest::invalidWithHeaderProvider() is not static > > /<<PKGBUILDDIR>>/tests/ResponseTest.php:281 > > -- > > There were 40 PHPUnit test runner deprecations: > ... > > ERRORS! > Tests: 374, Assertions: 951, Errors: 16, Deprecations: 40. > make[1]: *** [debian/rules:15: override_dh_auto_test] Error 2 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-nyholm-psr7/php-nyholm-psr7_1.8.1-2+rebuild1714781620_amd64-2024-05-04T00:13:40Z.build