public function PHP_CodeCoverage::setForceCoversAnnotation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-code-coverage/src/CodeCoverage.php \PHP_CodeCoverage::setForceCoversAnnotation()
Parameters
bool $flag:
Throws
File
- vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage.php, line 423
Class
- PHP_CodeCoverage
- Provides collection functionality for PHP code coverage information.
Code
public function setForceCoversAnnotation($flag) {
if (!is_bool($flag)) {
throw PHP_CodeCoverage_Util_InvalidArgumentHelper::factory(1, 'boolean');
}
$this->forceCoversAnnotation = $flag;
}