class CoverageXmlToReport
@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\CoverageXmlToReport extends \PHPUnit\TextUI\XmlConfiguration\LogToReportMigration
Expanded class hierarchy of CoverageXmlToReport
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ Migration/ Migrations/ CoverageXmlToReport.php, line 19
Namespace
PHPUnit\TextUI\XmlConfigurationView source
final class CoverageXmlToReport extends LogToReportMigration {
protected function forType() : string {
return 'coverage-xml';
}
protected function toReportFormat(DOMElement $logNode) : DOMElement {
$xml = $logNode->ownerDocument
->createElement('xml');
$xml->setAttribute('outputDirectory', $logNode->getAttribute('target'));
return $xml;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
CoverageXmlToReport::forType | protected | function | Overrides LogToReportMigration::forType | |
CoverageXmlToReport::toReportFormat | protected | function | Overrides LogToReportMigration::toReportFormat | |
LogToReportMigration::findLogNode | private | function | ||
LogToReportMigration::migrate | public | function | Overrides Migration::migrate | |
LogToReportMigration::migrateAttributes | protected | function |