mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
46291 lines
1.5 MiB
46291 lines
1.5 MiB
<?php
|
||
|
||
/*
|
||
* This file is part of the Behat.
|
||
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
|
||
*
|
||
* For the full copyright and license information, please view the LICENSE
|
||
* file that was distributed with this source code.
|
||
*/
|
||
|
||
define('BEHAT_PHP_BIN_PATH', 'php');
|
||
define('BEHAT_BIN_PATH', __FILE__);
|
||
define('BEHAT_VERSION', '2.4.0');
|
||
|
||
Phar::mapPhar('behat.phar');
|
||
require_once 'phar://behat.phar/vendor/autoload.php';
|
||
|
||
// internal encoding to utf8
|
||
mb_internal_encoding('utf8');
|
||
|
||
if (!defined('BEHAT_PHAR_CLI') || true === BEHAT_PHAR_CLI) {
|
||
// check, that we are in CLI
|
||
if ('cli' === php_sapi_name()) {
|
||
$app = new Behat\Behat\Console\BehatApplication(BEHAT_VERSION);
|
||
$app->run();
|
||
} else {
|
||
throw new RuntimeException('Behat can be runned only as CLI utility');
|
||
}
|
||
exit(0);
|
||
}
|
||
|
||
__HALT_COMPILER(); ?>
|
||
:¶ |