Skip to content
Merged
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
7 changes: 2 additions & 5 deletions PHP/CodeCoverage.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public function append(array $data, $id = NULL, $append = TRUE, $linesToBeCovere

if ($id != 'UNCOVERED_FILES_FROM_WHITELIST') {
$this->applyCoversAnnotationFilter(
$data, $id, $linesToBeCovered, $linesToBeUsed
$data, $linesToBeCovered, $linesToBeUsed
);
}

Expand Down Expand Up @@ -461,15 +461,12 @@ public function setProcessUncoveredFilesFromWhitelist($flag)
* Applies the @covers annotation filtering.
*
* @param array $data
* @param mixed $id
* @param mixed $linesToBeCovered
* @param array $linesToBeUsed
* @throws PHP_CodeCoverage_Exception_UnintentionallyCoveredCode
*/
protected function applyCoversAnnotationFilter(&$data, $id, $linesToBeCovered, array $linesToBeUsed)
protected function applyCoversAnnotationFilter(&$data, $linesToBeCovered, array $linesToBeUsed)
{
$unintentionallyCoveredCode = FALSE;

if ($linesToBeCovered === FALSE) {
$data = array();
return;
Expand Down