Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F628627
Bootstrap.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
872 B
Referenced Files
None
Subscribers
None
Bootstrap.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline