"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/bootstrap.php" between
dav-4.0.2.tar.gz and dav-4.0.3.tar.gz

About: sabre/dav is a WebDAV framework for PHP allowing to create WebDAV, CalDAV and CardDAV servers.

bootstrap.php  (dav-4.0.2):bootstrap.php  (dav-4.0.3)
skipping to change at line 17 skipping to change at line 17
$autoLoader = include __DIR__.'/../vendor/autoload.php'; $autoLoader = include __DIR__.'/../vendor/autoload.php';
// SabreDAV tests auto loading // SabreDAV tests auto loading
$autoLoader->add('Sabre\\', __DIR__); $autoLoader->add('Sabre\\', __DIR__);
// VObject tests auto loading // VObject tests auto loading
$autoLoader->addPsr4('Sabre\\VObject\\', __DIR__.'/../vendor/sabre/vobject/tests /VObject'); $autoLoader->addPsr4('Sabre\\VObject\\', __DIR__.'/../vendor/sabre/vobject/tests /VObject');
$autoLoader->addPsr4('Sabre\\Xml\\', __DIR__.'/../vendor/sabre/xml/tests/Sabre/X ml'); $autoLoader->addPsr4('Sabre\\Xml\\', __DIR__.'/../vendor/sabre/xml/tests/Sabre/X ml');
date_default_timezone_set('UTC'); date_default_timezone_set('UTC');
if ('TRUE' === getenv('RUN_TEST_WITH_STREAMING_PROPFIND')) {
echo 'Running unit tests with \Sabre\DAV\Server::$streamMultiStatus = true';
\Sabre\DAV\Server::$streamMultiStatus = true;
}
// List of variables that can be set by the environment // List of variables that can be set by the environment
$environmentVars = [ $environmentVars = [
'SABRE_MYSQLUSER', 'SABRE_MYSQLUSER',
'SABRE_MYSQLPASS', 'SABRE_MYSQLPASS',
'SABRE_MYSQLDSN', 'SABRE_MYSQLDSN',
'SABRE_PGSQLDSN', 'SABRE_PGSQLDSN',
]; ];
foreach ($environmentVars as $var) { foreach ($environmentVars as $var) {
if ($value = getenv($var)) { if ($value = getenv($var)) {
define($var, $value); define($var, $value);
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)