Skip to content

Commit 961fee7

Browse files
dvdougsebastianbergmann
authored andcommitted
Explicitly sort file list before returning
1 parent b500611 commit 961fee7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ProcessedCodeCoverageData.php

+2
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ public function functionCoverage(): array
116116

117117
public function coveredFiles(): array
118118
{
119+
ksort($this->lineCoverage);
120+
119121
return array_keys($this->lineCoverage);
120122
}
121123

0 commit comments

Comments
 (0)