File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 50
50
use SebastianBergmann \CodeCoverage \Report \Clover as CloverReport ;
51
51
use SebastianBergmann \CodeCoverage \Report \Cobertura as CoberturaReport ;
52
52
use SebastianBergmann \CodeCoverage \Report \Crap4j as Crap4jReport ;
53
+ use SebastianBergmann \CodeCoverage \Report \Html \Colors ;
53
54
use SebastianBergmann \CodeCoverage \Report \Html \Facade as HtmlReport ;
55
+ use SebastianBergmann \CodeCoverage \Report \Html \Thresholds ;
54
56
use SebastianBergmann \CodeCoverage \Report \PHP as PhpReport ;
55
57
use SebastianBergmann \CodeCoverage \Report \Text as TextReport ;
56
58
use SebastianBergmann \CodeCoverage \Report \Xml \Facade as XmlReport ;
@@ -449,11 +451,14 @@ public function run(TestSuite $suite): TestResult
449
451
450
452
try {
451
453
$ writer = new HtmlReport (
452
- $ this ->configuration ->coverageHtmlLowUpperBound (),
453
- $ this ->configuration ->coverageHtmlHighLowerBound (),
454
454
sprintf (
455
455
' and <a href="https://phpunit.de/">PHPUnit %s</a> ' ,
456
456
Version::id ()
457
+ ),
458
+ Colors::default (),
459
+ Thresholds::from (
460
+ $ this ->configuration ->coverageHtmlLowUpperBound (),
461
+ $ this ->configuration ->coverageHtmlHighLowerBound ()
457
462
)
458
463
);
459
464
You can’t perform that action at this time.
0 commit comments