function Renderer::setCommonTemplateVariables
3 calls to Renderer::setCommonTemplateVariables()
- Dashboard::render in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ Dashboard.php - Directory::render in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ Directory.php - File::render in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ File.php
File
-
vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer.php, line 162
Class
- Renderer
- @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
Namespace
SebastianBergmann\CodeCoverage\Report\HtmlCode
protected function setCommonTemplateVariables(Template $template, AbstractNode $node) : void {
$template->setVar([
'id' => $node->id(),
'full_path' => $node->pathAsString(),
'path_to_root' => $this->pathToRoot($node),
'breadcrumbs' => $this->breadcrumbs($node),
'date' => $this->date,
'version' => $this->version,
'runtime' => $this->runtimeString(),
'generator' => $this->generator,
'low_upper_bound' => $this->thresholds
->lowUpperBound(),
'high_lower_bound' => $this->thresholds
->highLowerBound(),
]);
}