Codeception / Codeception/Codeception
Add support *showOnlySummary* from SebastianBergmann\CodeCoverage\Report\Facade::renderText()
- Lingua principale
- PHP
- Stelle
- 4.9k
- Fork
- 1.3k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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:
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.