File: phpunit-autoload.php

package info (click to toggle)
php-random-compat 2.0.21-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 368 kB
  • sloc: php: 1,104; sh: 48; xml: 30; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 300 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

require_once __DIR__ . '/psalm-autoload.php';

/**
 * This is necessary for PHPUnit on PHP >= 5.3
 *
 * Class PHPUnit_Framework_TestCase
 */
if (PHP_VERSION_ID >= 50300) {
    if (!class_exists('PHPUnit_Framework_TestCase')) {
        require_once __DIR__ . '/other/phpunit-shim.php';
    }
}