Page MenuHomePhabricator (Chris)

Bootstrap.php
No OneTemporary

Authored By
Unknown
Size
872 B
Referenced Files
None
Subscribers
None

Bootstrap.php

<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tests;
/*
* Set error reporting to the max level.
*/
error_reporting(-1);
/*
* Set UTC timezone.
*/
date_default_timezone_set('UTC');
$autoloader = __DIR__ . '/../vendor/autoload.php';
/*
* Check that --dev composer installation was done
*/
if (!file_exists($autoloader)) {
throw new \Exception(
'Please run "php composer.phar install --dev" in root directory '
. 'to setup unit test dependencies before running the tests'
);
}
//Include the Composer autoloader
require_once $autoloader;
/*
* Unset global variables that are no longer needed.
*/
unset($autoloader);

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 15, 4:36 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135671
Default Alt Text
Bootstrap.php (872 B)

Event Timeline