Skip to content

Commit e689acb

Browse files
sebastianbergmannRob Caiger
authored andcommitted
Fix CS/WS issues
1 parent e479542 commit e689acb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/CodeCoverage.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class PHP_CodeCoverage
9393
*
9494
* @var array
9595
*/
96-
private $uncoveredFiles = array();
96+
private $uncoveredFiles = [];
9797

9898
/**
9999
* Constructor.
@@ -583,7 +583,9 @@ private function applyIgnoredLinesFilter(array &$data)
583583
private function initializeFilesThatAreSeenTheFirstTime(array $data)
584584
{
585585
foreach ($data as $file => $lines) {
586-
if ($this->filter->isFile($file) && !isset($this->data[$file]) && !$this->filter()->isFiltered($file)) {
586+
if ($this->filter->isFile($file) &&
587+
!isset($this->data[$file]) &&
588+
!$this->filter()->isFiltered($file)) {
587589
$this->data[$file] = [];
588590

589591
foreach ($lines as $k => $v) {

0 commit comments

Comments
 (0)