Source: php-phpstan-phpdoc-parser Version: 1.28.0-1 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-phpstan-phpdoc-parser 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 4 PHPUnit errors: > > 1) PHPStan\PhpDocParser\Parser\PhpDocParserTest::testParse > The data provider specified for > PHPStan\PhpDocParser\Parser\PhpDocParserTest::testParse is invalid > Data Provider method > PHPStan\PhpDocParser\Parser\PhpDocParserTest::provideMultiLinePhpDocData() is > not static > > /<<PKGBUILDDIR>>/tests/PHPStan/Parser/PhpDocParserTest.php:132 > > 2) PHPStan\PhpDocParser\Parser\PhpDocParserTest::testVerifyAttributes > The data provider specified for > PHPStan\PhpDocParser\Parser\PhpDocParserTest::testVerifyAttributes is invalid > Data Provider method > PHPStan\PhpDocParser\Parser\PhpDocParserTest::provideMultiLinePhpDocData() is > not static > > /<<PKGBUILDDIR>>/tests/PHPStan/Parser/PhpDocParserTest.php:7261 > > 3) > PHPStan\PhpDocParser\Parser\PhpDocParserTest::testTextBetweenTagsBelongsToDescription > The data provider specified for > PHPStan\PhpDocParser\Parser\PhpDocParserTest::testTextBetweenTagsBelongsToDescription > is invalid > Data Provider method > PHPStan\PhpDocParser\Parser\PhpDocParserTest::dataTextBetweenTagsBelongsToDescription() > is not static > > /<<PKGBUILDDIR>>/tests/PHPStan/Parser/PhpDocParserTest.php:7555 > > 4) PHPStan\PhpDocParser\Parser\TokenIteratorTest::testGetDetectedNewline > The data provider specified for > PHPStan\PhpDocParser\Parser\TokenIteratorTest::testGetDetectedNewline is > invalid > Data Provider method > PHPStan\PhpDocParser\Parser\TokenIteratorTest::dataGetDetectedNewline() is > not static > > /<<PKGBUILDDIR>>/tests/PHPStan/Parser/TokenIteratorTest.php:47 > > -- > > There was 1 PHPUnit test runner warning: > > 1) No tests found in class "PHPStan\PhpDocParser\Parser\TokenIteratorTest". > > -- > > There were 33 PHPUnit test runner deprecations: > ... > > ERRORS! > Tests: 2950, Assertions: 8828, Errors: 4, Warnings: 1, Deprecations: 33. > make[1]: *** [debian/rules:21: override_dh_auto_test] Error 2 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-phpstan-phpdoc-parser/php-phpstan-phpdoc-parser_1.28.0-1+rebuild1714376563_amd64-2024-04-29T07:42:44Z.build