Adds a file to the whitelist.
Parameters
string $filename:
File
- drupal/core/vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Filter.php, line 176
Class
- PHP_CodeCoverage_Filter
- Filter for blacklisting and whitelisting of code coverage information.
Code
public function addFileToWhitelist($filename) {
$this->whitelistedFiles[realpath($filename)] = TRUE;
}