function CodeCoverage::cacheDirectory
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/CodeCoverage/CodeCoverage.php \PHPUnit\TextUI\XmlConfiguration\CodeCoverage\CodeCoverage::cacheDirectory()
Throws
StaticAnalysisCacheNotConfiguredException
File
-
vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage.php, line 341
Class
- CodeCoverage
- Provides collection functionality for PHP code coverage information.
Namespace
SebastianBergmann\CodeCoverageCode
public function cacheDirectory() : string {
if (!$this->cachesStaticAnalysis()) {
throw new StaticAnalysisCacheNotConfiguredException('The static analysis cache is not configured');
}
return $this->cacheDirectory;
}