load('services.yml'); if (file_exists($configFile)) { $container['config_file'] = $configFile; } $container['store.user'] = function () { return b8\Store\Factory::getStore('User'); }; $container['store.project'] = function () { return b8\Store\Factory::getStore('Project'); }; $container['store.build'] = function () { return b8\Store\Factory::getStore('Build'); }; $container['store.build_meta'] = function () { return b8\Store\Factory::getStore('BuildMeta'); }; /** * Allow to modify PHPCI configuration without modify versioned code. * Dameons should be killed to apply changes in the file. * * @ticket 781 */ $localVarsFile = __DIR__ . '/local_vars.php'; if (is_readable($localVarsFile)) { require_once $localVarsFile; } require_once(__DIR__ . '/vars.php'); \PHPCI\Helper\Lang::init($container['config']);