Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

# PHP_CodeCoverage

**Fork Notes** this fork and release contain a small change for compatibility with PHP 7.2.

**PHP_CodeCoverage** is a library that provides collection, processing, and rendering functionality for PHP code coverage information.

## Requirements
Expand Down
2 changes: 1 addition & 1 deletion src/Report/Html/Renderer/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ protected function renderSource(FileNode $node)
$popoverTitle = '';

if (array_key_exists($i, $coverageData)) {
$numTests = ($coverageData[$i] ? count($coverageData[$i]) : 0);
$numTests = ($coverageData[$i] ? count($coverageData[$i]) : 0);

if ($coverageData[$i] === null) {
$trClass = ' class="warning"';
Expand Down