-
-
Notifications
You must be signed in to change notification settings - Fork 384
Closed
Labels
Description
Q | A |
---|---|
php-code-coverage version | 12.3.7 |
PHP version | 8.4.11 |
Driver | Xdebug |
PCOV version (if used) | — |
Xdebug version (if used) | 3.4.5 |
Installation Method | Composer |
Usage Method | PHPUnit |
PHPUnit version (if used) | 12.3.7 |
Description
After upgrade libs from phpunit/phpunit
11.5.39 and phpunit/php-code-coverage
11.0.11 to versions 12.3 I do not have branch and path coverage in HTML report (only coverage for Lines
, Functions and Methods
, Classes and Traits
).
At the same time, with the versions of the libs 12.3 in Cobertura XML report and Text report I have line, branch and path coverage.
My <coverage>
config is:
<coverage pathCoverage="true">
<report>
<html outputDirectory="html-coverage" lowUpperBound="50" highLowerBound="90" />
<cobertura outputFile="cobertura.xml"/>
<text outputFile="coverage.txt" />
</report>
</coverage>
Expected behaviour
Line, branch and path coverage in all reports: HTML, Coverage, Text.