public function PHP_CodeCoverage_Filter::addFileToBlacklist

Adds a file to the blacklist.

Parameters

string $filename:

3 calls to PHP_CodeCoverage_Filter::addFileToBlacklist()
PHP_CodeCoverage_Filter::addDirectoryToBlacklist in drupal/core/vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Filter.php
Adds a directory to the blacklist (recursively).
PHP_CodeCoverage_Filter::addFilesToBlacklist in drupal/core/vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Filter.php
Adds files to the blacklist.
PHP_CodeCoverage_Filter::prefillBlacklist in drupal/core/vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Filter.php
@since Method available since Release 1.2.3

File

drupal/core/vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Filter.php, line 102

Class

PHP_CodeCoverage_Filter
Filter for blacklisting and whitelisting of code coverage information.

Code

public function addFileToBlacklist($filename) {
  $this->blacklistedFiles[realpath($filename)] = TRUE;
}