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.
phptsmadmin/includes/kohana/vendor/phpunit/php-code-coverage/scripts/auto_prepend.php
2012-11-22 14:25:06 +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']);