You are here

public function PHP_CodeCoverage::setDisableIgnoredLines in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-code-coverage/src/CodeCoverage.php \PHP_CodeCoverage::setDisableIgnoredLines()

Parameters

bool $flag:

Throws

PHP_CodeCoverage_Exception

File

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

Class

PHP_CodeCoverage
Provides collection functionality for PHP code coverage information.

Code

public function setDisableIgnoredLines($flag) {
  if (!is_bool($flag)) {
    throw PHP_CodeCoverage_Util_InvalidArgumentHelper::factory(1, 'boolean');
  }
  $this->disableIgnoredLines = $flag;
}