6 * A command line application to install Drupal for tests.
9 use Drupal\TestSite\TestSiteApplication;
11 if (PHP_SAPI !== 'cli') {
15 // Use the PHPUnit bootstrap to prime an autoloader that works for test classes.
16 // Note we have to disable the SYMFONY_DEPRECATIONS_HELPER to ensure deprecation
17 // notices are not triggered.
18 putenv('SYMFONY_DEPRECATIONS_HELPER=disabled');
19 require_once __DIR__ . '/../tests/bootstrap.php';
21 // The application version is 0.1.0 to indicate that it is for internal use only
22 // and not currently API.
23 $app = new TestSiteApplication('test-site', '0.1.0');