bootstrap.php in Zircon Profile 8.0
Same filename in this branch
- 8.0 core/tests/bootstrap.php
- 8.0 vendor/sebastian/comparator/tests/bootstrap.php
- 8.0 vendor/twig/twig/test/bootstrap.php
- 8.0 vendor/egulias/email-validator/tests/bootstrap.php
- 8.0 vendor/phpunit/phpunit-mock-objects/tests/bootstrap.php
- 8.0 vendor/phpunit/phpunit/tests/bootstrap.php
- 8.0 vendor/phpunit/php-token-stream/tests/bootstrap.php
- 8.0 vendor/composer/installers/tests/bootstrap.php
- 8.0 vendor/composer/installers/src/bootstrap.php
- 8.0 vendor/behat/mink/driver-testsuite/bootstrap.php
- 8.0 vendor/symfony-cmf/routing/Tests/bootstrap.php
- 8.0 vendor/guzzlehttp/psr7/tests/bootstrap.php
- 8.0 vendor/guzzlehttp/promises/tests/bootstrap.php
Same filename and directory in other branches
File
vendor/symfony-cmf/routing/Tests/bootstrap.phpView source
<?php
$file = __DIR__ . '/../vendor/autoload.php';
if (!file_exists($file)) {
throw new RuntimeException('Install dependencies to run test suite.');
}
require_once $file;
spl_autoload_register(function ($class) {
if (0 === strpos($class, 'Symfony\\Cmf\\Component\\Routing\\')) {
$path = __DIR__ . '/../' . implode('/', array_slice(explode('\\', $class), 4)) . '.php';
if (!stream_resolve_include_path($path)) {
return false;
}
require_once $path;
return true;
}
});