<commit_before><?php

require_once(dirname(__FILE__).'/../../config/ProjectConfiguration.class.php');
require_once dirname(__FILE__).'/../../lib/vendor/symfony/test/bootstrap/unit.php';

$application = (getenv("APPLICATION")) ? getenv("APPLICATION") : 'rhone';

$configuration = ProjectConfiguration::getApplicationConfiguration($application, 'test', true);
$context = sfContext::createInstance($configuration);
if(getenv("COUCHURL")) {
    $db = sfContext::getInstance()->getDatabaseManager();
    $db->setDatabase('default', new acCouchdbDatabase(array('dsn' => preg_replace('|[^/]+$|', '', getenv("COUCHURL")), 'dbname' => preg_replace('|^.+/([^/]+$)|', '\1', getenv("COUCHURL")))));
}
$societeConfig = sfConfig::get('societe_configuration_societe');
unset($societeConfig['disable_save']);
sfConfig::set('societe_configuration_societe', $societeConfig);<commit_msg>on overwrite app_facture_emetteur bootstrap unit<commit_after><?php

require_once(dirname(__FILE__).'/../../config/ProjectConfiguration.class.php');
require_once dirname(__FILE__).'/../../lib/vendor/symfony/test/bootstrap/unit.php';

$application = (getenv("APPLICATION")) ? getenv("APPLICATION") : 'rhone';

$configuration = ProjectConfiguration::getApplicationConfiguration($application, 'test', true);
$context = sfContext::createInstance($configuration);
if(getenv("COUCHURL")) {
    $db = sfContext::getInstance()->getDatabaseManager();
    $db->setDatabase('default', new acCouchdbDatabase(array('dsn' => preg_replace('|[^/]+$|', '', getenv("COUCHURL")), 'dbname' => preg_replace('|^.+/([^/]+$)|', '\1', getenv("COUCHURL")))));
}
$societeConfig = sfConfig::get('societe_configuration_societe');
unset($societeConfig['disable_save']);
sfConfig::set('societe_configuration_societe', $societeConfig);
sfConfig::set('app_facture_emetteur', [
    'IGP13' => [
        'email' => '<EMAIL>'
    ]
]);
{'fraction_non_alphanumeric': 0.2196036422067488, 'fraction_numerical': 0.0021424745581146223, 'mean_word_length': 8.293532338308458, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3377572', 'n_tokens_mistral': 613, 'n_tokens_neox': 597, 'n_words': 69}