This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/includes/kohana/vendor/phpunit/php-code-coverage/scripts/auto_prepend.php
2013-10-10 13:44:53 +11:00

11 lines
277 B
PHP

<?php
require_once 'PHP/CodeCoverage/Autoload.php';
$coverage = new PHP_CodeCoverage;
$filter = $coverage->filter();
$filter->addFileToBlacklist(__FILE__);
$filter->addFileToBlacklist(dirname(__FILE__) . '/auto_append.php');
$coverage->start($_SERVER['SCRIPT_FILENAME']);