/** * Constructor * * @access public */ public function __construct($includePaths = array("."), $excludePaths = array(), $reporter = "new HtmlCoverageReporter()") { global $util; parent::__construct($includePaths, $excludePaths, $reporter); $this->isRemote = true; $this->phpCoverageFiles[] = "phpcoverage.remote.inc.php"; $this->phpCoverageFiles[] = "phpcoverage.remote.top.inc.php"; $this->phpCoverageFiles[] = "phpcoverage.remote.bottom.inc.php"; // configuration $this->tmpDir = $util->getTmpDir(); }
public function __construct($reporter = 'new moodle_coverage_reporter()') { parent::__construct(array(), array(), $reporter); }