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.
redir/includes/kohana/vendor/phpunit/php-code-coverage/scripts/auto_prepend.php

11 lines
277 B
PHP
Raw Normal View History

2013-04-13 06:17:56 +00:00
<?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']);