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

Breadcrumb

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

function Project::init

1 call to Project::init()
Project::__construct in vendor/phpunit/php-code-coverage/src/Report/Xml/Project.php

File

vendor/phpunit/php-code-coverage/src/Report/Xml/Project.php, line 73

Class

Project
@internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage

Namespace

SebastianBergmann\CodeCoverage\Report\Xml

Code

private function init() : void {
    $dom = new DOMDocument();
    $dom->loadXML('<?xml version="1.0" ?><phpunit xmlns="https://schema.phpunit.de/coverage/1.0"><build/><project/></phpunit>');
    $this->setContextNode($dom->getElementsByTagNameNS('https://schema.phpunit.de/coverage/1.0', 'project')
        ->item(0));
}
RSS feed
Powered by Drupal