Source: php-ml-json-ld
Version: 1.2.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-ml-json-ld 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
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> .......................S....................                      44 / 44 
> (100%)
> 
> Time: 00:00.024, Memory: 10.00 MB
> 
> There were 8 PHPUnit errors:
> 
> 1) ML\JsonLD\Test\W3CTestSuiteTest::testExpansion
> The data provider specified for 
> ML\JsonLD\Test\W3CTestSuiteTest::testExpansion is invalid
> Data Provider method ML\JsonLD\Test\W3CTestSuiteTest::expansionProvider() is 
> not static
> 
> /<<PKGBUILDDIR>>/Test/W3CTestSuiteTest.php:76
> 
> 2) ML\JsonLD\Test\W3CTestSuiteTest::testCompaction
> The data provider specified for 
> ML\JsonLD\Test\W3CTestSuiteTest::testCompaction is invalid
> Data Provider method ML\JsonLD\Test\W3CTestSuiteTest::compactionProvider() is 
> not static
> 
> /<<PKGBUILDDIR>>/Test/W3CTestSuiteTest.php:105
> 
> 3) ML\JsonLD\Test\W3CTestSuiteTest::testFlatten
> The data provider specified for ML\JsonLD\Test\W3CTestSuiteTest::testFlatten 
> is invalid
> Data Provider method ML\JsonLD\Test\W3CTestSuiteTest::flattenProvider() is 
> not static
> 
> /<<PKGBUILDDIR>>/Test/W3CTestSuiteTest.php:139
> 
> 4) ML\JsonLD\Test\W3CTestSuiteTest::testRemoteDocumentLoading
> The data provider specified for 
> ML\JsonLD\Test\W3CTestSuiteTest::testRemoteDocumentLoading is invalid
> Data Provider method 
> ML\JsonLD\Test\W3CTestSuiteTest::remoteDocumentLoadingProvider() is not static
> 
> /<<PKGBUILDDIR>>/Test/W3CTestSuiteTest.php:172
> 
> 5) ML\JsonLD\Test\W3CTestSuiteTest::testError
> The data provider specified for ML\JsonLD\Test\W3CTestSuiteTest::testError is 
> invalid
> Data Provider method ML\JsonLD\Test\W3CTestSuiteTest::errorProvider() is not 
> static
> 
> /<<PKGBUILDDIR>>/Test/W3CTestSuiteTest.php:224
> 
> 6) ML\JsonLD\Test\W3CTestSuiteTest::testFraming
> The data provider specified for ML\JsonLD\Test\W3CTestSuiteTest::testFraming 
> is invalid
> Data Provider method ML\JsonLD\Test\W3CTestSuiteTest::framingProvider() is 
> not static
> 
> /<<PKGBUILDDIR>>/Test/W3CTestSuiteTest.php:256
> 
> 7) ML\JsonLD\Test\W3CTestSuiteTest::testToRdf
> The data provider specified for ML\JsonLD\Test\W3CTestSuiteTest::testToRdf is 
> invalid
> Data Provider method ML\JsonLD\Test\W3CTestSuiteTest::toRdfProvider() is not 
> static
> 
> /<<PKGBUILDDIR>>/Test/W3CTestSuiteTest.php:309
> 
> 8) ML\JsonLD\Test\W3CTestSuiteTest::testFromRdf
> The data provider specified for ML\JsonLD\Test\W3CTestSuiteTest::testFromRdf 
> is invalid
> Data Provider method ML\JsonLD\Test\W3CTestSuiteTest::fromRdfProvider() is 
> not static
> 
> /<<PKGBUILDDIR>>/Test/W3CTestSuiteTest.php:346
> 
> --
> 
> There were 2 PHPUnit test runner warnings:
> 
> 1) Test results may not be as expected because the XML configuration file did 
> not pass validation:
> 
>   Line 11:
>   - 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 'strict': The attribute 'strict' is not 
> allowed.
> 
>   Line 19:
>   - Element 'filter': This element is not expected.
> 
> 
> 2) No tests found in class "ML\JsonLD\Test\W3CTestSuiteTest".
> 
> --
> 
> There were 12 PHPUnit test runner deprecations:
> 
> 1) Metadata found in doc-comment for method 
> ML\JsonLD\Test\JsonLDApiTest::testExpansion(). Metadata in doc-comments is 
> deprecated and will no longer be supported in PHPUnit 12. Update your test 
> code to use attributes instead.
> 
> 2) Metadata found in doc-comment for method 
> ML\JsonLD\Test\JsonLDApiTest::testCompaction(). 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 
> ML\JsonLD\Test\JsonLDApiTest::testFlatten(). 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 
> ML\JsonLD\Test\JsonLDApiTest::testFrame(). 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 
> ML\JsonLD\Test\W3CTestSuiteTest::testExpansion(). 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 
> ML\JsonLD\Test\W3CTestSuiteTest::testCompaction(). 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 
> ML\JsonLD\Test\W3CTestSuiteTest::testFlatten(). 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 
> ML\JsonLD\Test\W3CTestSuiteTest::testRemoteDocumentLoading(). 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 
> ML\JsonLD\Test\W3CTestSuiteTest::testError(). 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 
> ML\JsonLD\Test\W3CTestSuiteTest::testFraming(). 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 
> ML\JsonLD\Test\W3CTestSuiteTest::testToRdf(). 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 
> ML\JsonLD\Test\W3CTestSuiteTest::testFromRdf(). 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: 44, Assertions: 264, Errors: 8, Warnings: 2, Deprecations: 12, 
> Skipped: 1.
> 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/1/php-ml-json-ld/php-ml-json-ld_1.2.1-2+rebuild1714781137_amd64-2024-05-04T00:05:38Z.build

Reply via email to