mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
15 lines
300 B
PHP
15 lines
300 B
PHP
|
<?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';
|
||
|
}
|
||
|
}
|