<commit_before><?php
namespace Aura\Html\_Config;

use Aura\Di\Config;
use Aura\Di\Container;
use Aura\Html\Functions\EscaperFunctions;

class Common extends Config
{
    public function define(Container $di)
    {
        /**
         * Services
         */
        $di->set('html_escaper', $di->lazyNew('Aura\Html\Escaper'));
        $di->set('html_helper', $di->lazyNew('Aura\Html\HelperLocator'));

        /**
         * Aura\Html\HelperLocator
         */<commit_msg>use EscaperFactory in config<commit_after><?php
namespace Aura\Html\_Config;

use Aura\Di\Config;
use Aura\Di\Container;
use Aura\Html\Functions\EscaperFunctions;

class Common extends Config
{
    public function define(Container $di)
    {
        /**
         * Services
         */
        $di->set('html_escaper', $di->lazy(array(
            $di->lazyNew('Aura\Html\EscaperFactory'),
            'newInstance'
        )));
        $di->set('html_helper', $di->lazyNew('Aura\Html\HelperLocator'));

        /**
         * Aura\Html\HelperLocator
         */
{'fraction_non_alphanumeric': 0.15072463768115943, 'fraction_numerical': 0.0, 'mean_word_length': 2.4078947368421053, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '759903', 'n_tokens_mistral': 336, 'n_tokens_neox': 333, 'n_words': 51}