Skip to content

Commit

Permalink
Fix TypeError warning 'var_export() expects parameter 2 to be boolean…
Browse files Browse the repository at this point in the history
…, integer given'
  • Loading branch information
dol authored and sebastianbergmann committed Feb 2, 2019
1 parent 4832739 commit 63d3b21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Report/PHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public function process(CodeCoverage $coverage, ?string $target = null): string
$filter->setWhitelistedFiles(%s);
return $coverage;',
\var_export($coverage->getData(true), 1),
\var_export($coverage->getTests(), 1),
\var_export($filter->getWhitelistedFiles(), 1)
\var_export($coverage->getData(true), true),
\var_export($coverage->getTests(), true),
\var_export($filter->getWhitelistedFiles(), true)
);

if ($target !== null) {
Expand Down

0 comments on commit 63d3b21

Please sign in to comment.