You are here

public function PHP_CodeCoverage_Filter::hasWhitelist 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::hasWhitelist()

Returns whether this filter has a whitelist.

@since Method available since Release 1.1.0

Return value

bool

File

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

Class

PHP_CodeCoverage_Filter
Filter for blacklisting and whitelisting of code coverage information.

Code

public function hasWhitelist() {
  return !empty($this->whitelistedFiles);
}