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

Breadcrumb

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

function CodeCoverage::php

Throws

Exception

File

vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/CodeCoverage/CodeCoverage.php, line 241

Class

CodeCoverage
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\TextUI\XmlConfiguration\CodeCoverage

Code

public function php() : Php {
    if (!$this->hasPhp()) {
        throw new Exception('Code Coverage report "PHP" has not been configured');
    }
    return $this->php;
}
RSS feed
Powered by Drupal