24 lines
843 B
PHP
24 lines
843 B
PHP
<?php
|
|
/** @license MIT
|
|
* Copyright 2017 , Dustin Wilson, J. King et al.
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
declare(strict_types=1);
|
|
namespace MensBeam\HTML\Parser;
|
|
|
|
const NS_BASE = __NAMESPACE__."\\";
|
|
define(NS_BASE."BASE", dirname(__DIR__).DIRECTORY_SEPARATOR);
|
|
const DOCROOT = BASE."tests".DIRECTORY_SEPARATOR."docroot".DIRECTORY_SEPARATOR;
|
|
ini_set("memory_limit", "-1");
|
|
ini_set("zend.assertions", "1");
|
|
ini_set("assert.exception", "true");
|
|
error_reporting(\E_ALL);
|
|
require_once BASE."vendor".DIRECTORY_SEPARATOR."autoload.php";
|
|
|
|
if (function_exists("xdebug_set_filter")) {
|
|
if (defined("XDEBUG_PATH_INCLUDE")) {
|
|
xdebug_set_filter(\XDEBUG_FILTER_CODE_COVERAGE, XDEBUG_PATH_INCLUDE, [BASE."lib/"]);
|
|
} else {
|
|
xdebug_set_filter(\XDEBUG_FILTER_CODE_COVERAGE, XDEBUG_PATH_WHITELIST, [BASE."lib/"]);
|
|
}
|
|
}
|