Source: php-parser Version: 5.0.2-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-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 was 1 PHPUnit test runner warning: > > 1) Class PhpParser\ParserTest declared in > /<<PKGBUILDDIR>>/test/PhpParser/ParserTest.php is abstract > > -- > > There were 66 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 > PhpParser\Builder\ClassConstTest::testValues(). 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 > PhpParser\Builder\EnumCaseTest::testValues(). 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 > PhpParser\Builder\ParamTest::testDefaultValues(). 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 > PhpParser\Builder\ParamTest::testTypes(). 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 > PhpParser\Builder\PropertyTest::testDefaultValues(). 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 > PhpParser\BuilderFactoryTest::testFactory(). 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 > PhpParser\CodeParsingTest::testParse(). 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 > PhpParser\CommentTest::testReformatting(). 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 > PhpParser\CompatibilityTest::testAliases1(). 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 > PhpParser\CompatibilityTest::testAliases2(). 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 > PhpParser\ConstExprEvaluatorTest::testEvaluate(). 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 > PhpParser\ConstExprEvaluatorTest::testEvaluateSilently(). 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 > PhpParser\ErrorTest::testSetMessageAndLine(). 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 > PhpParser\ErrorTest::testColumnInfo(). 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 > PhpParser\Internal\DifferTest::testDiff(). 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 > PhpParser\Internal\DifferTest::testDiffWithReplacements(). 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 > PhpParser\JsonDecoderTest::testDecodingError(). 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 > PhpParser\Lexer\EmulativeTest::testError(). 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 > PhpParser\Lexer\EmulativeTest::testLex(). 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 > PhpParser\Lexer\EmulativeTest::testReplaceKeywords(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 22) Metadata found in doc-comment for method > PhpParser\Lexer\EmulativeTest::testReplaceKeywordsUppercase(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 23) Metadata found in doc-comment for method > PhpParser\Lexer\EmulativeTest::testNoReplaceKeywordsAfterObjectOperator(). > Metadata in doc-comments is deprecated and will no longer be supported in > PHPUnit 12. Update your test code to use attributes instead. > > 24) Metadata found in doc-comment for method > PhpParser\Lexer\EmulativeTest::testNoReplaceKeywordsAfterObjectOperatorWithSpaces(). > Metadata in doc-comments is deprecated and will no longer be supported in > PHPUnit 12. Update your test code to use attributes instead. > > 25) Metadata found in doc-comment for method > PhpParser\Lexer\EmulativeTest::testNoReplaceKeywordsAfterNullsafeObjectOperator(). > Metadata in doc-comments is deprecated and will no longer be supported in > PHPUnit 12. Update your test code to use attributes instead. > > 26) Metadata found in doc-comment for method > PhpParser\Lexer\EmulativeTest::testLexNewFeatures(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 27) Metadata found in doc-comment for method > PhpParser\Lexer\EmulativeTest::testLeaveStuffAloneInStrings(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 28) Metadata found in doc-comment for method > PhpParser\Lexer\EmulativeTest::testErrorAfterEmulation(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 29) Metadata found in doc-comment for method > PhpParser\Lexer\EmulativeTest::testTargetVersion(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 30) Metadata found in doc-comment for method > PhpParser\LexerTest::testError(). Metadata in doc-comments is deprecated and > will no longer be supported in PHPUnit 12. Update your test code to use > attributes instead. > > 31) Metadata found in doc-comment for method PhpParser\LexerTest::testLex(). > Metadata in doc-comments is deprecated and will no longer be supported in > PHPUnit 12. Update your test code to use attributes instead. > > 32) Metadata found in doc-comment for method > PhpParser\NameContextTest::testGetPossibleNames(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 33) Metadata found in doc-comment for method > PhpParser\Node\Expr\CallableLikeTest::testIsFirstClassCallable(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 34) Metadata found in doc-comment for method > PhpParser\Node\IdentifierTest::testIsSpecialClassName(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 35) Metadata found in doc-comment for method > PhpParser\Node\NameTest::testIsSpecialClassName(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 36) Metadata found in doc-comment for method > PhpParser\Node\ParamTest::testModifiers(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 37) Metadata found in doc-comment for method > PhpParser\Node\Scalar\MagicConstTest::testGetName(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 38) Metadata found in doc-comment for method > PhpParser\Node\Scalar\StringTest::testParseEscapeSequences(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 39) Metadata found in doc-comment for method > PhpParser\Node\Scalar\StringTest::testCreate(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 40) Metadata found in doc-comment for method > PhpParser\Node\Stmt\ClassConstTest::testModifiers(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 41) Metadata found in doc-comment for method > PhpParser\Node\Stmt\ClassMethodTest::testModifiers(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 42) Metadata found in doc-comment for method > PhpParser\Node\Stmt\ClassMethodTest::testImplicitPublic(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 43) Metadata found in doc-comment for method > PhpParser\Node\Stmt\ClassMethodTest::testMagic(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 44) Metadata found in doc-comment for method > PhpParser\Node\Stmt\PropertyTest::testModifiers(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 45) Metadata found in doc-comment for method > PhpParser\NodeAbstractTest::testConstruct(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 46) Metadata found in doc-comment for method > PhpParser\NodeAbstractTest::testGetDocComment(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 47) Metadata found in doc-comment for method > PhpParser\NodeAbstractTest::testChange(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 48) Metadata found in doc-comment for method > PhpParser\NodeAbstractTest::testIteration(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 49) Metadata found in doc-comment for method > PhpParser\NodeDumperTest::testDump(). Metadata in doc-comments is deprecated > and will no longer be supported in PHPUnit 12. Update your test code to use > attributes instead. > > 50) Metadata found in doc-comment for method > PhpParser\NodeTraverserTest::testInvalidReturn(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 51) Metadata found in doc-comment for method > PhpParser\NodeVisitor\NameResolverTest::testResolveNames(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 52) Metadata found in doc-comment for method > PhpParser\NodeVisitor\NameResolverTest::testResolveLocations(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 53) Metadata found in doc-comment for method > PhpParser\NodeVisitor\NameResolverTest::testError(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 54) Metadata found in doc-comment for method > PhpParser\Parser\Php7Test::testExtraAttributes(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 55) Metadata found in doc-comment for method > PhpParser\Parser\Php8Test::testExtraAttributes(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 56) Metadata found in doc-comment for method > PhpParser\PrettyPrinterTest::testPrettyPrint(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 57) Metadata found in doc-comment for method > PhpParser\PrettyPrinterTest::testPrettyPrintFile(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 58) Metadata found in doc-comment for method > PhpParser\PrettyPrinterTest::testKindAttributes(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 59) Metadata found in doc-comment for method > PhpParser\PrettyPrinterTest::testUnnaturalLiterals(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 60) Metadata found in doc-comment for method > PhpParser\PrettyPrinterTest::testFormatPreservingPrint(). Metadata in > doc-comments is deprecated and will no longer be supported in PHPUnit 12. > Update your test code to use attributes instead. > > 61) Metadata found in doc-comment for method > PhpParser\PrettyPrinterTest::testRoundTripPrint(). Metadata in doc-comments > is deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 62) Metadata found in doc-comment for method > PhpParser\TokenTest::testIsIgnorable(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 63) Metadata found in doc-comment for method > PhpParser\CompatibilityTest::testAliases1(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 64) Metadata found in doc-comment for method > PhpParser\CompatibilityTest::testAliases2(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 65) Metadata found in doc-comment for method > PhpParser\CompatibilityTest::testAliases2(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > 66) Metadata found in doc-comment for method > PhpParser\CompatibilityTest::testAliases1(). Metadata in doc-comments is > deprecated and will no longer be supported in PHPUnit 12. Update your test > code to use attributes instead. > > -- > > 1 test triggered 1 PHPUnit deprecation: > > 1) PhpParser\NodeAbstractTest::testAttributes > getMockForAbstractClass() is deprecated and will be removed in PHPUnit 12 > without replacement. > > /<<PKGBUILDDIR>>/test/PhpParser/NodeAbstractTest.php:162 > > WARNINGS! > Tests: 1700, Assertions: 2490, Warnings: 1, Deprecations: 67. > make[1]: *** [debian/rules:23: override_dh_auto_test] Error 1 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-parser/php-parser_5.0.2-2+rebuild1714781759_amd64-2024-05-04T00:15:59Z.build