Source: php-codecoverage Version: 9.2.31+dfsg-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-codecoverage 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>>' > ln -s /usr/share/nodejs/bootstrap/dist/css/bootstrap.min.css > /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/css > ln -s /usr/share/nodejs/bootstrap/dist/js/bootstrap.min.js > /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/js > ln -s /usr/share/javascript/d3/d3.min.js > /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/js > ln -s /usr/share/javascript/jquery/jquery.min.js > /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/js > ln -s /usr/share/javascript/popper.js/popper.min.js > /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/js > XDEBUG_MODE=coverage phpunit > PHPUnit 11.1.2 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.18 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml > > .FEEEEEEEEE...................SSSSSSSSSSSSSSSSSSSSSSSSSSSSS.... 63 / 129 ( > 48%) > .EEE.....EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.....F............F.. 126 / 129 ( > 97%) > ... 129 / 129 > (100%) > > Time: 00:00.183, Memory: 16.00 MB > > There was 1 PHPUnit error: > > 1) SebastianBergmann\CodeCoverage\Node\BuilderTest::testReducePaths > The data provider specified for > SebastianBergmann\CodeCoverage\Node\BuilderTest::testReducePaths is invalid > Data Provider method > SebastianBergmann\CodeCoverage\Node\BuilderTest::reducePathsProvider() is not > static > > /<<PKGBUILDDIR>>/tests/tests/Node/BuilderTest.php:193 > > -- > > There were 23 PHPUnit test runner deprecations: ... > > -- > > There were 45 errors: > > 1) SebastianBergmann\CodeCoverage\CodeCoverageTest::testCollect > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php:59 > > 2) SebastianBergmann\CodeCoverage\CodeCoverageTest::testWhitelistFiltering > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::append(): Argument #1 > ($rawData) must be of type > SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData, > SebastianBergmann\CodeCoverage\RawCodeCoverageData given, called in > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php on line 92 > > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php:92 > > 3) > SebastianBergmann\CodeCoverage\CodeCoverageTest::testExcludeNonExecutableLines > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::append(): Argument #1 > ($rawData) must be of type > SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData, > SebastianBergmann\CodeCoverage\RawCodeCoverageData given, called in > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php on line 105 > > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php:105 > > 4) SebastianBergmann\CodeCoverage\CodeCoverageTest::testMerge > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1283 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1283 > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php:126 > > 5) SebastianBergmann\CodeCoverage\CodeCoverageTest::testMergeReverseOrder > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1319 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1319 > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php:137 > > 6) SebastianBergmann\CodeCoverage\CodeCoverageTest::testMerge2 > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php:153 > > 7) > SebastianBergmann\CodeCoverage\Data\ProcessedCodeCoverageDataTest::testMergeWithLineCoverage > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1283 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1283 > /<<PKGBUILDDIR>>/tests/tests/Data/ProcessedCodeCoverageDataTest.php:19 > > 8) > SebastianBergmann\CodeCoverage\Data\ProcessedCodeCoverageDataTest::testMergeWithPathCoverage > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1420 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1420 > /<<PKGBUILDDIR>>/tests/tests/Data/ProcessedCodeCoverageDataTest.php:31 > > 9) > SebastianBergmann\CodeCoverage\Data\ProcessedCodeCoverageDataTest::testMergeWithPathCoverageIntoEmpty > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1085 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1085 > /<<PKGBUILDDIR>>/tests/tests/Data/ProcessedCodeCoverageDataTest.php:45 > > 10) SebastianBergmann\CodeCoverage\FilterTest::testDirectoryCanBeAdded > Error: Call to undefined method > SebastianBergmann\CodeCoverage\Filter::includeDirectory() > > /<<PKGBUILDDIR>>/tests/tests/FilterTest.php:65 > > 11) SebastianBergmann\CodeCoverage\FilterTest::testSingleFileCanBeRemoved > Error: Call to undefined method > SebastianBergmann\CodeCoverage\Filter::excludeFile() > > /<<PKGBUILDDIR>>/tests/tests/FilterTest.php:79 > > 12) SebastianBergmann\CodeCoverage\FilterTest::testDirectoryCanBeRemoved > Error: Call to undefined method > SebastianBergmann\CodeCoverage\Filter::includeDirectory() > > /<<PKGBUILDDIR>>/tests/tests/FilterTest.php:87 > > 13) SebastianBergmann\CodeCoverage\Node\BuilderTest::testSomething > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/Node/BuilderTest.php:30 > > 14) > SebastianBergmann\CodeCoverage\Node\BuilderTest::testBuildDirectoryStructure > TypeError: > SebastianBergmann\CodeCoverage\Node\Builder::buildDirectoryStructure(): > Argument #1 ($data) must be of type > SebastianBergmann\CodeCoverage\Data\ProcessedCodeCoverageData, > SebastianBergmann\CodeCoverage\ProcessedCodeCoverageData given > > /<<PKGBUILDDIR>>/tests/tests/Node/BuilderTest.php:179 > > 15) > SebastianBergmann\CodeCoverage\Report\CloverTest::testLineCoverageForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/Report/CloverTest.php:25 > > 16) > SebastianBergmann\CodeCoverage\Report\CloverTest::testPathCoverageForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1085 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1085 > /<<PKGBUILDDIR>>/tests/tests/Report/CloverTest.php:35 > > 17) > SebastianBergmann\CodeCoverage\Report\CloverTest::testCloverForFileWithIgnoredLines > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1707 > /<<PKGBUILDDIR>>/tests/TestCase.php:1692 > /<<PKGBUILDDIR>>/tests/tests/Report/CloverTest.php:45 > > 18) > SebastianBergmann\CodeCoverage\Report\CloverTest::testCloverForClassWithAnonymousFunction > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1777 > /<<PKGBUILDDIR>>/tests/TestCase.php:1762 > /<<PKGBUILDDIR>>/tests/tests/Report/CloverTest.php:55 > > 19) > SebastianBergmann\CodeCoverage\Report\CoberturaTest::testLineCoverageForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/Report/CoberturaTest.php:25 > > 20) > SebastianBergmann\CodeCoverage\Report\CoberturaTest::testPathCoverageForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1085 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1085 > /<<PKGBUILDDIR>>/tests/tests/Report/CoberturaTest.php:35 > > 21) > SebastianBergmann\CodeCoverage\Report\CoberturaTest::testCoberturaForFileWithIgnoredLines > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1707 > /<<PKGBUILDDIR>>/tests/TestCase.php:1692 > /<<PKGBUILDDIR>>/tests/tests/Report/CoberturaTest.php:45 > > 22) > SebastianBergmann\CodeCoverage\Report\CoberturaTest::testCoberturaForClassWithAnonymousFunction > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1777 > /<<PKGBUILDDIR>>/tests/TestCase.php:1762 > /<<PKGBUILDDIR>>/tests/tests/Report/CoberturaTest.php:55 > > 23) > SebastianBergmann\CodeCoverage\Report\CoberturaTest::testCoberturaForClassAndOutsideFunction > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1817 > /<<PKGBUILDDIR>>/tests/TestCase.php:1802 > /<<PKGBUILDDIR>>/tests/tests/Report/CoberturaTest.php:65 > > 24) SebastianBergmann\CodeCoverage\Report\Crap4jTest::testForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/Report/Crap4jTest.php:25 > > 25) > SebastianBergmann\CodeCoverage\Report\Crap4jTest::testForFileWithIgnoredLines > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1707 > /<<PKGBUILDDIR>>/tests/TestCase.php:1692 > /<<PKGBUILDDIR>>/tests/tests/Report/Crap4jTest.php:35 > > 26) > SebastianBergmann\CodeCoverage\Report\Crap4jTest::testForClassWithAnonymousFunction > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1777 > /<<PKGBUILDDIR>>/tests/TestCase.php:1762 > /<<PKGBUILDDIR>>/tests/tests/Report/Crap4jTest.php:45 > > 27) > SebastianBergmann\CodeCoverage\Report\Html\HtmlTest::testLineCoverageForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/Report/HtmlTest.php:44 > > 28) > SebastianBergmann\CodeCoverage\Report\Html\HtmlTest::testPathCoverageForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1085 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1085 > /<<PKGBUILDDIR>>/tests/tests/Report/HtmlTest.php:54 > > 29) > SebastianBergmann\CodeCoverage\Report\Html\HtmlTest::testPathCoverageForSourceWithoutNamespace > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #2 > ($size) must be of type > ?SebastianBergmann\CodeCoverage\Test\TestSize\TestSize, bool given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1147 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1147 > /<<PKGBUILDDIR>>/tests/tests/Report/HtmlTest.php:68 > > 30) > SebastianBergmann\CodeCoverage\Report\Html\HtmlTest::testForFileWithIgnoredLines > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1707 > /<<PKGBUILDDIR>>/tests/TestCase.php:1692 > /<<PKGBUILDDIR>>/tests/tests/Report/HtmlTest.php:78 > > 31) > SebastianBergmann\CodeCoverage\Report\Html\HtmlTest::testForClassWithAnonymousFunction > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1777 > /<<PKGBUILDDIR>>/tests/TestCase.php:1762 > /<<PKGBUILDDIR>>/tests/tests/Report/HtmlTest.php:92 > > 32) > SebastianBergmann\CodeCoverage\Report\PhpTest::testPHPSerialisationProducesValidCode > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/Report/PhpTest.php:26 > > 33) > SebastianBergmann\CodeCoverage\Report\PhpTest::testPHPSerialisationProducesValidCodeWhenOutputIncludesSingleQuote > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1741 > /<<PKGBUILDDIR>>/tests/TestCase.php:1726 > /<<PKGBUILDDIR>>/tests/tests/Report/PhpTest.php:38 > > 34) SebastianBergmann\CodeCoverage\Report\PhpTest::testCacheDataNeverGetSaved > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/Report/PhpTest.php:50 > > 35) > SebastianBergmann\CodeCoverage\Report\TextTest::testLineCoverageForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\Report\Text::__construct(): > Argument #1 ($thresholds) must be of type > SebastianBergmann\CodeCoverage\Report\Thresholds, int given, called in > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php on line 23 > > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php:23 > > 36) > SebastianBergmann\CodeCoverage\Report\TextTest::testPathCoverageForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\Report\Text::__construct(): > Argument #1 ($thresholds) must be of type > SebastianBergmann\CodeCoverage\Report\Thresholds, int given, called in > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php on line 33 > > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php:33 > > 37) > SebastianBergmann\CodeCoverage\Report\TextTest::testTextOnlySummaryForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\Report\Text::__construct(): > Argument #1 ($thresholds) must be of type > SebastianBergmann\CodeCoverage\Report\Thresholds, int given, called in > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php on line 43 > > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php:43 > > 38) > SebastianBergmann\CodeCoverage\Report\TextTest::testTextForNamespacedBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\Report\Text::__construct(): > Argument #1 ($thresholds) must be of type > SebastianBergmann\CodeCoverage\Report\Thresholds, int given, called in > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php on line 53 > > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php:53 > > 39) > SebastianBergmann\CodeCoverage\Report\TextTest::testTextForFileWithIgnoredLines > TypeError: SebastianBergmann\CodeCoverage\Report\Text::__construct(): > Argument #1 ($thresholds) must be of type > SebastianBergmann\CodeCoverage\Report\Thresholds, int given, called in > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php on line 63 > > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php:63 > > 40) > SebastianBergmann\CodeCoverage\Report\TextTest::testTextForClassWithAnonymousFunction > TypeError: SebastianBergmann\CodeCoverage\Report\Text::__construct(): > Argument #1 ($thresholds) must be of type > SebastianBergmann\CodeCoverage\Report\Thresholds, int given, called in > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php on line 73 > > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php:73 > > 41) > SebastianBergmann\CodeCoverage\Report\TextTest::testUncoveredFilesAreIncludedWhenConfiguredTest > TypeError: SebastianBergmann\CodeCoverage\Report\Text::__construct(): > Argument #1 ($thresholds) must be of type > SebastianBergmann\CodeCoverage\Report\Thresholds, int given, called in > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php on line 83 > > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php:83 > > 42) > SebastianBergmann\CodeCoverage\Report\TextTest::testUncoveredFilesAreExcludedWhenConfiguredTest > TypeError: SebastianBergmann\CodeCoverage\Report\Text::__construct(): > Argument #1 ($thresholds) must be of type > SebastianBergmann\CodeCoverage\Report\Thresholds, int given, called in > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php on line 93 > > /<<PKGBUILDDIR>>/tests/tests/Report/TextTest.php:93 > > 43) SebastianBergmann\CodeCoverage\Report\Xml\XmlTest::testForBankAccountTest > TypeError: SebastianBergmann\CodeCoverage\CodeCoverage::start(): Argument #1 > ($id) must be of type string, BankAccountTest given, called in > /<<PKGBUILDDIR>>/tests/TestCase.php on line 1023 > > /<<PKGBUILDDIR>>/tests/TestCase.php:1023 > /<<PKGBUILDDIR>>/tests/tests/Report/XmlTest.php:45 > > 44) > SebastianBergmann\CodeCoverage\Report\Xml\XmlTest::testForFileWithIgnoredLines > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1707 > /<<PKGBUILDDIR>>/tests/TestCase.php:1692 > /<<PKGBUILDDIR>>/tests/tests/Report/XmlTest.php:55 > > 45) > SebastianBergmann\CodeCoverage\Report\Xml\XmlTest::testForClassWithAnonymousFunction > PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method stop > may not return value of type > SebastianBergmann\CodeCoverage\RawCodeCoverageData, its declared return type > is "SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData" > > /<<PKGBUILDDIR>>/tests/TestCase.php:1777 > /<<PKGBUILDDIR>>/tests/TestCase.php:1762 > /<<PKGBUILDDIR>>/tests/tests/Report/XmlTest.php:69 > > -- > > There were 3 failures: > > 1) > SebastianBergmann\CodeCoverage\CodeCoverageTest::testCannotAppendWithInvalidArgument > Failed asserting that exception of type "TypeError" matches expected > exception "SebastianBergmann\CodeCoverage\Exception". Message was: > "SebastianBergmann\CodeCoverage\CodeCoverage::append(): Argument #1 > ($rawData) must be of type > SebastianBergmann\CodeCoverage\Data\RawCodeCoverageData, > SebastianBergmann\CodeCoverage\RawCodeCoverageData given, called in > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php on line 54" at > /<<PKGBUILDDIR>>/tests/tests/CodeCoverageTest.php:54 > . > > 2) > SebastianBergmann\CodeCoverage\StaticAnalysis\ExecutableLinesFindingVisitorTest::testExecutableLinesAreGroupedByBranch > Failed asserting that two arrays are equal. > --- Expected > +++ Actual > @@ @@ > 558 => 239 > 560 => 239 > 563 => 239 > - 580 => 242 > - 594 => 246 > + 580 => 243 > + 594 => 247 > ) > > /<<PKGBUILDDIR>>/tests/tests/StaticAnalysis/ExecutableLinesFindingVisitorTest.php:95 > /<<PKGBUILDDIR>>/tests/tests/StaticAnalysis/ExecutableLinesFindingVisitorTest.php:27 > > 3) > SebastianBergmann\CodeCoverage\StaticAnalysis\ParsingFileAnalyserTest::testLinesCanBeIgnoredUsingAttribute > Failed asserting that two arrays are identical. > --- Expected > +++ Actual > @@ @@ > Array &0 [ > 0 => 4, > 1 => 5, > - 2 => 12, > - 3 => 14, > + 2 => 6, > + 3 => 7, > + 4 => 8, > + 5 => 9, > + 6 => 10, > + 7 => 12, > + 8 => 14, > + 9 => 15, > + 10 => 16, > + 11 => 17, > ] > > /<<PKGBUILDDIR>>/tests/tests/StaticAnalysis/ParsingFileAnalyserTest.php:150 > > -- > > 19 tests triggered 19 PHPUnit deprecations: > ... > > ERRORS! > Tests: 129, Assertions: 107, Errors: 46, Failures: 3, Deprecations: 42, > Skipped: 29. > make[1]: *** [debian/rules:29: override_dh_auto_test] Error 2 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-codecoverage/php-codecoverage_9.2.31+dfsg-1+rebuild1714365398_amd64-2024-04-29T04:36:39Z.build