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