<commit_before><?php

sfConfig::get('sf_orm', 'doctrine');

if (sfConfig::get('sf_web_debug'))
{
  require_once dirname(__FILE__).'/../lib/debug/sfWebDebugPanelDoctrine.class.php';

  $this->dispatcher->connect('debug.web.load_panels', array('sfWebDebugPanelDoctrine', 'listenToAddPanelEvent'));
}

$manager = Doctrine_Manager::getInstance();
$manager->setAttribute('export', 'all');
$manager->setAttribute('validate', true);
$manager->setAttribute('recursive_merge_fixtures', true);
$manager->setAttribute('auto_accessor_override', true);
$manager->setAttribute('autoload_table_classes', true);

$configuration = sfProjectConfiguration::getActive();

if (method_exists($configuration, 'configureDoctrineManager'))
{
  $configuration->configureDoctrineManager();
}<commit_msg>[1.2] Fix to config.php to invoke the correct method name<commit_after><?php

sfConfig::get('sf_orm', 'doctrine');

if (sfConfig::get('sf_web_debug'))
{
  require_once dirname(__FILE__).'/../lib/debug/sfWebDebugPanelDoctrine.class.php';

  $this->dispatcher->connect('debug.web.load_panels', array('sfWebDebugPanelDoctrine', 'listenToAddPanelEvent'));
}

$manager = Doctrine_Manager::getInstance();
$manager->setAttribute('export', 'all');
$manager->setAttribute('validate', true);
$manager->setAttribute('recursive_merge_fixtures', true);
$manager->setAttribute('auto_accessor_override', true);
$manager->setAttribute('autoload_table_classes', true);

$configuration = sfProjectConfiguration::getActive();

if (method_exists($configuration, 'configureDoctrine'))
{
  $configuration->configureDoctrine($manager);
}
{'fraction_non_alphanumeric': 0.1742138364779874, 'fraction_numerical': 0.0012578616352201257, 'mean_word_length': 10.364285714285714, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '4964370', 'n_tokens_mistral': 478, 'n_tokens_neox': 481, 'n_words': 65}