| 1 | <?php |
||
| 8 | class CoverageReporterLegacy implements CoverageReporterInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var \PHP_CodeCoverage |
||
| 12 | */ |
||
| 13 | private $coverage; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param \PHP_CodeCoverage $coverage |
||
| 17 | */ |
||
| 18 | 6 | public function __construct(\PHP_CodeCoverage $coverage) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * Generate clover coverage report |
||
| 25 | * |
||
| 26 | * @param string $target Report filename |
||
| 27 | */ |
||
| 28 | 1 | public function clover($target) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * Generate html coverage report |
||
| 36 | * |
||
| 37 | * @param string $target Report filename |
||
| 38 | */ |
||
| 39 | 1 | public function html($target) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Generate php coverage report |
||
| 47 | * @param string $target Report filename |
||
| 48 | */ |
||
| 49 | 3 | public function php($target) |
|
| 54 | } |
||
| 55 |