Skip to content

Commit 3f5f760

Browse files
Support configuring the class view through Report\Facade::renderHtml()
1 parent 7cfb727 commit 3f5f760

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Report/Facade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ private function __construct(Directory $report, array $testResults)
6868
/**
6969
* @param non-empty-string $target
7070
*/
71-
public function renderHtml(string $target, string $generator = '', ?Colors $colors = null, ?Thresholds $thresholds = null, ?CustomCssFile $customCssFile = null): void
71+
public function renderHtml(string $target, string $generator = '', ?Colors $colors = null, ?Thresholds $thresholds = null, ?CustomCssFile $customCssFile = null, bool $classView = true): void
7272
{
73-
new HtmlFacade($generator, $colors, $thresholds, $customCssFile)->process(
73+
new HtmlFacade($generator, $colors, $thresholds, $customCssFile, $classView)->process(
7474
$this->report,
7575
$target,
7676
);

0 commit comments

Comments
 (0)