-
-
Notifications
You must be signed in to change notification settings - Fork 384
Closed
Description
Q | A |
---|---|
php-code-coverage version | 9.1.4 |
PHP version | 7.4 |
Driver | Xdebug |
Xdebug version | 2.9.6 |
Installation Method | Composer |
Usage Method | PHPUnit |
PHPUnit version | 9.3.7 |
Since upgrading from PHPUnit 9.2
, new lines at the end of files are being reported as uncovered in the XML report, e.g.
<line num="32" type="stmt" count="0"/>
It seems to be caused by the removal of this workaround (as reinstating it fixes the clover report): d9c9b7b
The report is being consumed by SonarCloud - should the last line of files be ignored regardless of the uploaded XML report? If that's the case, I can raise an issue with SonarCloud.
Metadata
Metadata
Assignees
Labels
No labels