public function PHP_CodeCoverage_Filter::removeFileFromBlacklist in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php \PHP_CodeCoverage_Filter::removeFileFromBlacklist()
Removes a file from the blacklist.
Parameters
string $filename:
1 call to PHP_CodeCoverage_Filter::removeFileFromBlacklist()
- PHP_CodeCoverage_Filter::removeDirectoryFromBlacklist in vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage/ Filter.php - Removes a directory from the blacklist (recursively).
File
- vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage/ Filter.php, line 93
Class
- PHP_CodeCoverage_Filter
- Filter for blacklisting and whitelisting of code coverage information.
Code
public function removeFileFromBlacklist($filename) {
$filename = realpath($filename);
if (isset($this->blacklistedFiles[$filename])) {
unset($this->blacklistedFiles[$filename]);
}
}