| 1 | <?php |
||
| 5 | class CoverageReporter3 implements CoverageReporterInterface |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var \PHP_CodeCoverage |
||
| 9 | */ |
||
| 10 | private $coverage; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param \PHP_CodeCoverage $coverage |
||
| 14 | */ |
||
| 15 | 2 | public function __construct(\PHP_CodeCoverage $coverage) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * Generate clover coverage report |
||
| 22 | * |
||
| 23 | * @param string $target Report filename |
||
| 24 | */ |
||
| 25 | public function clover($target) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Generate html coverage report |
||
| 33 | * |
||
| 34 | * @param string $target Report filename |
||
| 35 | */ |
||
| 36 | public function html($target) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Generate php coverage report |
||
| 44 | * @param string $target Report filename |
||
| 45 | */ |
||
| 46 | 2 | public function php($target) |
|
| 51 | } |
||
| 52 |