mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-04 18:48:24 +01:00
574953061a
PSR4 for tests and added fall-through for switches
23 lines
456 B
PHP
23 lines
456 B
PHP
<?php
|
|
|
|
/**
|
|
* Bootstrapping File for phpseclib Test Suite
|
|
*
|
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
|
*/
|
|
|
|
date_default_timezone_set('UTC');
|
|
|
|
$loader_path = __DIR__ . '/../vendor/autoload.php';
|
|
if (!file_exists($loader_path)) {
|
|
exit(<<<EOF
|
|
Dependencies must be installed using composer:
|
|
php composer.phar install
|
|
See https://getcomposer.org for help with installing composer.
|
|
|
|
EOF
|
|
);
|
|
}
|
|
|
|
require $loader_path;
|