Source: jsonlint Version: 1.9.0-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: [email protected] Usertags: phpunit
Hi, We will start the phpunit 10 transition in unstable soon. During a test rebuild, jsonlint was found to FTBFS. To reproduce this locally, you need to install the phpunit 10 package (and any other dependency, which should also be available) from experimental on an unstable system or build chroot. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > phpunit --bootstrap src/Seld/JsonLint/autoload.php > PHPUnit 10.2.2 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.7 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist > > D.................................................SES.... 57 / 57 > (100%) > > Time: 00:00.016, Memory: 8.00 MB > > There was 1 PHPUnit test runner warning: > > 1) Test results may not be as expected because the XML configuration file did > not pass validation: > > Line 13: > - Element 'phpunit', attribute 'backupStaticAttributes': The attribute > 'backupStaticAttributes' is not allowed. > - Element 'phpunit', attribute 'convertErrorsToExceptions': The attribute > 'convertErrorsToExceptions' is not allowed. > - Element 'phpunit', attribute 'convertNoticesToExceptions': The attribute > 'convertNoticesToExceptions' is not allowed. > - Element 'phpunit', attribute 'convertWarningsToExceptions': The attribute > 'convertWarningsToExceptions' is not allowed. > - Element 'phpunit', attribute 'syntaxCheck': The attribute 'syntaxCheck' > is not allowed. > > Line 20: > - Element 'filter': This element is not expected. > > > -- > > There was 1 error: > > 1) JsonParserTest::testDuplicateKeys > Error: Call to undefined method JsonParserTest::objectHasAttribute() > > /<<PKGBUILDDIR>>/tests/JsonParserTest.php:226 > > -- > > 1 test triggered 1 PHPUnit deprecation: > > 1) JsonParserTest::testParsesValidStrings > Data Provider method JsonParserTest::provideValidStrings() is not static > > /<<PKGBUILDDIR>>/tests/JsonParserTest.php:51 > > -- > > There was 1 risky test: > > 1) JsonParserTest::testDuplicateKeys > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/JsonParserTest.php:219 > > ERRORS! > Tests: 57, Assertions: 95, Errors: 1, Warnings: 1, Deprecations: 1, Skipped: > 2, Risky: 1. > make[1]: *** [debian/rules:15: override_dh_auto_test] Error 2 The full build logs and additional context is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/jsonlint/ A phpunit reverse-dependencies rebuild status is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html -- Athos Ribeiro

