File: autoload.php.tpl

package info (click to toggle)
phpunit-code-unit 1.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 308 kB
  • sloc: php: 1,319; xml: 49; makefile: 12
file content (26 lines) | stat: -rw-r--r-- 688 bytes parent folder | download
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
<?php

require_once 'SebastianBergmann/CodeUnit/autoload.php';
require_once __DIR__ . '/../tests/_fixture/file_with_multiple_code_units.php';
require_once __DIR__ . '/../tests/_fixture/function.php';

// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
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];
        }
    },
    true,
    false
);
// @codeCoverageIgnoreEnd