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

Breadcrumb

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

function Method::setTotals

File

vendor/phpunit/php-code-coverage/src/Report/Xml/Method.php, line 42

Class

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

Namespace

SebastianBergmann\CodeCoverage\Report\Xml

Code

public function setTotals(string $executable, string $executed, string $coverage) : void {
    $this->contextNode
        ->setAttribute('executable', $executable);
    $this->contextNode
        ->setAttribute('executed', $executed);
    $this->contextNode
        ->setAttribute('coverage', $coverage);
}
RSS feed
Powered by Drupal