Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
19
vendor/doctrine/cache/tests/Doctrine/Tests/TestInit.php
vendored
Normal file
19
vendor/doctrine/cache/tests/Doctrine/Tests/TestInit.php
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/*
|
||||
* This file bootstraps the test environment.
|
||||
*/
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
|
||||
if (file_exists(__DIR__ . '/../../../vendor/autoload.php')) {
|
||||
// dependencies were installed via composer - this is the main project
|
||||
$classLoader = require __DIR__ . '/../../../vendor/autoload.php';
|
||||
} elseif (file_exists(__DIR__ . '/../../../../../autoload.php')) {
|
||||
// installed as a dependency in `vendor`
|
||||
$classLoader = require __DIR__ . '/../../../../../autoload.php';
|
||||
} else {
|
||||
throw new Exception('Can\'t find autoload.php. Did you install dependencies via Composer?');
|
||||
}
|
||||
|
||||
/* @var $classLoader \Composer\Autoload\ClassLoader */
|
||||
$classLoader->add('Doctrine\\Tests\\', __DIR__ . '/../../');
|
||||
unset($classLoader);
|
||||
Reference in a new issue