blob: f4358a0c4ab42b135578159b1c874ceed05245a1 (
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
25
26
27
28
|
<?php
/* Inspired from autoload from version 1.2.0 */
require 'PHPUnit/Autoload.php';
require 'Symfony/Component/Console/autoloader.php';
require 'SebastianBergmann/FinderFacade/autoload.php';
/*
already required in PHPUnit
require 'PHP/CodeCoverage/Autoload.php';
require 'SebastianBergmann/Diff/autoload.php';
require 'SebastianBergmann/Version/autoload.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];
}
}
);
|