Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CoverageXmlToReport.php

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\XmlConfiguration
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal