blob: 2b7fe1d7818e9a1abc295679eeac9a28fb27275d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
/* Inspired from autoload from version 1.2.0 */
require 'PHPUnit/Autoload.php';
require 'PHP/CodeCoverage/Autoload.php';
require 'SebastianBergmann/Diff/autoload.php';
require 'SebastianBergmann/FinderFacade/autoload.php';
require 'SebastianBergmann/Version/autoload.php';
require 'Symfony/Component/Console/autoloader.php';
spl_autoload_register(
function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
___CLASSLIST___
);
}
$cn = strtolower($class);
if (isset($classes[$cn])) {
require ___BASEDIR___$classes[$cn];
}
}
);
|