function File::abbreviateClassName
2 calls to File::abbreviateClassName()
- File::abbreviateMethodName in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ File.php - File::renderTraitOrClassItems in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ File.php
File
-
vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ File.php, line 1062
Class
- File
- @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
Namespace
SebastianBergmann\CodeCoverage\Report\HtmlCode
private function abbreviateClassName(string $className) : string {
$tmp = explode('\\', $className);
if (count($tmp) > 1) {
$className = sprintf('<abbr title="%s">%s</abbr>', $className, array_pop($tmp));
}
return $className;
}