<commit_before><?php
namespace HcBackend;

use HcBackend\Options\ModuleOptions;
use Zend\Mvc\MvcEvent;

class Module
{
    /**
     * @param MvcEvent $e
     */
    public function onBootstrap(MvcEvent $e)
    {
        /* @var $sm \Zend\ServiceManager\ServiceManager */
        $sm = $e->getApplication()->getServiceManager();

        /* @var $di \Zend\Di\Di */
        $di = $sm->get('di');

        $config = $sm->get('config');

        $options = new ModuleOptions(isset($config['huskycms']['hc_backend']) ?
                                     $config['huskycms']['hc_backend'] :
                                     array());

        $di->instanceManager()->addSharedInstance($options, 'HcBackend\Options\ModuleOptions');
    }

    public function getConfig()
    {
        return include __DIR__ . '/config/module.config.php';<commit_msg>Update configuration options<commit_after><?php
namespace HcBackend;

use HcBackend\Options\ModuleOptions;
use Zend\Mvc\MvcEvent;

class Module
{
    /**
     * @param MvcEvent $e
     */
    public function onBootstrap(MvcEvent $e)
    {
        /* @var $sm \Zend\ServiceManager\ServiceManager */
        $sm = $e->getApplication()->getServiceManager();

        /* @var $di \Zend\Di\Di */
        $di = $sm->get('di');

        $config = $sm->get('config');

        $options = new ModuleOptions(isset($config['huskycms']['hc-backend']) ?
                                     $config['huskycms']['hc-backend'] :
                                     array());

        $di->instanceManager()->addSharedInstance($options, 'HcBackend\Options\ModuleOptions');
    }

    public function getConfig()
    {
        return include __DIR__ . '/config/module.config.php';
{'fraction_non_alphanumeric': 0.15528312901342672, 'fraction_numerical': 0.0, 'mean_word_length': 2.1799628942486087, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '280613', 'n_tokens_mistral': 505, 'n_tokens_neox': 498, 'n_words': 85}