function File::abbreviateMethodName
2 calls to File::abbreviateMethodName()
- File::renderBranchStructure in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ File.php - File::renderPathStructure 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 1077
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 abbreviateMethodName(string $methodName) : string {
$parts = explode('->', $methodName);
if (count($parts) === 2) {
return $this->abbreviateClassName($parts[0]) . '->' . $parts[1];
}
return $methodName;
}