You are here

public function PHP_CodeCoverage_Filter::addFileToBlacklist in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php \PHP_CodeCoverage_Filter::addFileToBlacklist()

Adds a file to the blacklist.

Parameters

string $filename:

2 calls to PHP_CodeCoverage_Filter::addFileToBlacklist()
PHP_CodeCoverage_Filter::addDirectoryToBlacklist in vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php
Adds a directory to the blacklist (recursively).
PHP_CodeCoverage_Filter::addFilesToBlacklist in vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php
Adds files to the blacklist.

File

vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php, line 54

Class

PHP_CodeCoverage_Filter
Filter for blacklisting and whitelisting of code coverage information.

Code

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