Source: phploc
Version: 7.0.2-3
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
phploc 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 --bootstrap src/autoload.php
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml
> 
> ........................                                          24 / 24 
> (100%)
> 
> Time: 00:00.007, Memory: 8.00 MB
> 
> There was 1 PHPUnit error:
> 
> 1) SebastianBergmann\PHPLOC\AnalyserTest::testIssue126IsFixed
> The data provider specified for 
> SebastianBergmann\PHPLOC\AnalyserTest::testIssue126IsFixed is invalid
> Data Provider method 
> SebastianBergmann\PHPLOC\AnalyserTest::issue126Provider() is not static
> 
> /<<PKGBUILDDIR>>/tests/unit/AnalyserTest.php:281
> 
> --
> 
> There were 8 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 class 
> SebastianBergmann\PHPLOC\AnalyserTest. 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 
> SebastianBergmann\PHPLOC\AnalyserTest::testIssue64IsFixed(). 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 
> SebastianBergmann\PHPLOC\AnalyserTest::testIssue112IsFixed(). 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 
> SebastianBergmann\PHPLOC\AnalyserTest::testIssue126IsFixed(). 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 
> SebastianBergmann\PHPLOC\AnalyserTest::testIssue138IsFixed(). 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 
> SebastianBergmann\PHPLOC\AnalyserTest::testIssue139IsFixed(). 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 class SebastianBergmann\PHPLOC\CsvTest. 
> 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: 24, Assertions: 36, Errors: 1, Deprecations: 8.
> make[1]: *** [debian/rules:16: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/phploc/phploc_7.0.2-3+rebuild1714780963_amd64-2024-05-04T00:02:44Z.build

Reply via email to