Codeception / Codeception/Codeception
Add support *showOnlySummary* from SebastianBergmann\CodeCoverage\Report\Facade::renderText()
- Dominant language
- PHP
- Stars
- 4.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
You codebase:
File: Codeception\Coverage\Subscriber\Printer
```
protected function printConsole(): void
{
if (class_exists(FacadeReport::class)) {
$writer = FacadeReport::fromObject(self::$coverage);
$this->output->write($writer->renderText(null, showColors: $this->options['colors']));
} else {
$writer = $this->createTextWriter();
$this->output->write($writer->process(self::$coverage, $this->options['colors']));
}
}
```
FacadeReport::renderText signature support 5 arguments:
- $target,
- ?Thresholds $thresholds = null,
- bool $showUncoveredFiles = false,
- bool $showOnlySummary = false,
- bool $showColors,
Your code - 2 arguments:
- $target,
- bool $showColors,
General point - remove some report text:
Contributor guide
Assessment
This issue has not been assessed yet.