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

Breadcrumb

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

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

API Navigation

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