class CoverageHtmlToReport
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- class \PHPUnit\TextUI\XmlConfiguration\LogToReportMigration implements \PHPUnit\TextUI\XmlConfiguration\Migration
- class \PHPUnit\TextUI\XmlConfiguration\CoverageHtmlToReport extends \PHPUnit\TextUI\XmlConfiguration\LogToReportMigration
Expanded class hierarchy of CoverageHtmlToReport
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ Migration/ Migrations/ CoverageHtmlToReport.php, line 19
Namespace
PHPUnit\TextUI\XmlConfigurationView source
final class CoverageHtmlToReport extends LogToReportMigration {
protected function forType() : string {
return 'coverage-html';
}
protected function toReportFormat(DOMElement $logNode) : DOMElement {
$html = $logNode->ownerDocument
->createElement('html');
$html->setAttribute('outputDirectory', $logNode->getAttribute('target'));
$this->migrateAttributes($logNode, $html, [
'lowUpperBound',
'highLowerBound',
]);
return $html;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
CoverageHtmlToReport::forType | protected | function | Overrides LogToReportMigration::forType | |
CoverageHtmlToReport::toReportFormat | protected | function | Overrides LogToReportMigration::toReportFormat | |
LogToReportMigration::findLogNode | private | function | ||
LogToReportMigration::migrate | public | function | Overrides Migration::migrate | |
LogToReportMigration::migrateAttributes | protected | function |