<commit_before><?php

$config = [
    'id' => 'app',
    'defaultRoute' => 'core/core-frontend/index',
    'aliases' => [
        '@core' => '@app/modules/core', // Core path
        '@theme' => '@app/themes/default', // default path to Theme
    ],
    'bootstrap' => [
        /* Set current Theme */
        [
            'class' => 'app\modules\core\components\CoreBootstrap',
            'theme' => '', // if empty then get Theme from database
        ],
    ],
    'components' => [
        'user' => [
            'identityClass' => 'app\modules\user\models\User',
            'loginUrl' => ['user/user/login'],
            'enableAutoLogin' => true,
        ],
        'errorHandler' => [
            'errorAction' => 'core/core-frontend/error',
        ],
        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
        ],
        'view' => [
            /* default Theme */
            'theme' => [
                'basePath' => '@theme',
                'baseUrl' => '@web/themes/default',
                'pathMap' => [
                    '@app/views' => '@theme',
                    '@app/modules' => '@theme/modules',
                ],
            ],
        ],
    ],
];

if (YII_ENV_DEV) {
    // configuration adjustments for 'dev' environment
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = 'yii\debug\Module';

    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'allowedIPs' => ['127.0.0.1', '::1', '192.168.*.*'],
    ];
}

return $config;<commit_msg>*: config - add rpcManager component<commit_after><?php

$config = [
    'id' => 'app',
    'defaultRoute' => 'core/core-frontend/index',
    'aliases' => [
        '@core' => '@app/modules/core', // Core path
        '@theme' => '@app/themes/default', // default path to Theme
    ],
    'bootstrap' => [
        /* Set current Theme */
        [
            'class' => 'app\modules\core\components\CoreBootstrap',
            'theme' => '', // if empty then get Theme from database
        ],
    ],
    'components' => [
        'user' => [
            'identityClass' => 'app\modules\user\models\User',
            'loginUrl' => ['user/user/login'],
            'enableAutoLogin' => true,
        ],
        'errorHandler' => [
            'errorAction' => 'core/core-frontend/error',
        ],
        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
        ],
        'view' => [
            /* default Theme */
            'theme' => [
                'basePath' => '@theme',
                'baseUrl' => '@web/themes/default',
                'pathMap' => [
                    '@app/views' => '@theme',
                    '@app/modules' => '@theme/modules',
                ],
            ],
        ],
        'rpcManager' => [
            'class' => 'app\modules\core\components\RpcManager',
            'pingEnable' => true,
            'pingServers' => [
                'http://ping.blogs.yandex.ru/RPC2',
                'http://blogsearch.google.com/ping/RPC2',
            ]
        ],
    ],
];

if (YII_ENV_DEV) {
    // configuration adjustments for 'dev' environment
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = 'yii\debug\Module';

    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'allowedIPs' => ['127.0.0.1', '::1', '192.168.*.*'],
    ];
}

return $config;
{'fraction_non_alphanumeric': 0.20242914979757085, 'fraction_numerical': 0.009253903990746095, 'mean_word_length': 1.5910112359550561, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3460220', 'n_tokens_mistral': 1089, 'n_tokens_neox': 1062, 'n_words': 175}