1 | <?php |
||
12 | abstract class AbstractText implements CoverageProcessorInterface |
||
13 | { |
||
14 | /** @var PHPUnitText */ |
||
15 | private $text; |
||
16 | |||
17 | /** @var OutputInterface */ |
||
18 | private $output; |
||
19 | |||
20 | /** @var OutputFile */ |
||
21 | private $targetFile; |
||
22 | |||
23 | /** @var bool */ |
||
24 | private $showColors; |
||
25 | |||
26 | /** |
||
27 | * AbstractText constructor. |
||
28 | * @param OutputInterface $output |
||
29 | * @param bool $showColors |
||
30 | * @param bool $onlySummary |
||
31 | * @param OutputFile|null $targetFile |
||
32 | */ |
||
33 | 12 | public function __construct(OutputInterface $output, bool $showColors, bool $onlySummary, OutputFile $targetFile = null) |
|
40 | |||
41 | /** |
||
42 | * @param CodeCoverage $coverage |
||
43 | * @throws \RuntimeException |
||
44 | */ |
||
45 | 9 | public function process(CodeCoverage $coverage) |
|
55 | } |
||
56 |