<commit_before><?php
$localConfigPath = __DIR__ . '/local/main.php';
$localConfig = file_exists($localConfigPath) ? require $localConfigPath : [];

$mainConfig = array_merge([
    'id' => 'app',
    'name'  => 'NullCMS',
    'language'  => 'en',
    'basePath' => dirname(__DIR__),
    'bootstrap' => ['log'],
    'components' => [
        'i18n'  => [
            'translations' => [
                '*' => [
                    'class' => 'yii\i18n\PhpMessageSource',
                ],
            ],
        ],
        'urlManager' => [
            'enablePrettyUrl'       => true,
            'showScriptName'        => false,
            'enableStrictParsing'   => true,
            'rules' => [
                '<_a>'    => 'site/<_a>',
                '<_c>/<_a>'=>'<_c>/<_a>',
                '<_m>/<_c>/<_a>' => '<_m>/<_c>/<_a>',
                '/'                 => 'site/index',
            ],
        ],
        'request'   => [
            'cookieValidationKey'   => 'someValidationKey'
        ],
        'authManager'   => [
            'class' => '\yii\rbac\DbManager'
        ],
        'cache' => [
            'class' => 'yii\caching\FileCache',
        ],
        'errorHandler' => [
            'errorAction' => 'site/error',
        ],
        'mail' => [
            'class' => 'yii\swiftmailer\Mailer',
            'useFileTransport' => true,
        ],
        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                [
                    'class' => 'yii\log\FileTarget',
                    'levels' => ['error', 'warning'],
                ],
            ],
        ],
        'db'    => [
            'class' => '\yii\db\Connection',
            'dsn'   => 'mysql:host=localhost;dbname=nullcms',
            'username' => 'root',
            'password'  => '<PASSWORD>',
        ],
        'view' => [
            'theme' => [
                'pathMap' => [
                    '@app/views' => '@app/web/themes/null',
                    '@app/modules' => '@app/web/themes/null',
                ],
                'basePath' => '@app/web/themes/null',
                'baseUrl' => '@web/themes/null',
            ],
        ],
    ],
    'modules' => [
        'config' => ['class' => 'bariew\\configModule\\Module'],
        'module' => ['class' => 'bariew\\moduleModule\\Module'],
    ],
    'params'    => [
        'adminEmail'    => '<EMAIL>'
    ]
], $localConfig);

if (YII_ENV_DEV) {
    // configuration adjustments for 'dev' environment
    $mainConfig['bootstrap'][] = 'debug';
    $mainConfig['modules']['debug'] = [
        'class'=>'yii\debug\Module',
         'allowedIPs' => ['*']
    ];

    $mainConfig['bootstrap'][] = 'gii';
    $mainConfig['modules']['gii'] = 'yii\gii\Module';
}
$mainConfig['extensions'] = require(__DIR__ . '/../vendor/yiisoft/extensions.php');

return $mainConfig;
<commit_msg>removed config variables<commit_after><?php return array_merge([
    'id' => 'app',
    'name'  => 'NullCMS',
    'language'  => 'en',
    'basePath' => dirname(__DIR__),
    'bootstrap' => ['log'],
    'components' => [
        'i18n'  => [
            'translations' => [
                '*' => [
                    'class' => 'yii\i18n\PhpMessageSource',
                ],
            ],
        ],
        'urlManager' => [
            'enablePrettyUrl'       => true,
            'showScriptName'        => false,
            'enableStrictParsing'   => true,
            'rules' => [
                '<_a>'    => 'site/<_a>',
                '<_c>/<_a>'=>'<_c>/<_a>',
                '<_m>/<_c>/<_a>' => '<_m>/<_c>/<_a>',
                '/'                 => 'site/index',
            ],
        ],
        'request'   => [
            'cookieValidationKey'   => 'someValidationKey'
        ],
        'authManager'   => [
            'class' => '\yii\rbac\DbManager'
        ],
        'cache' => [
            'class' => 'yii\caching\FileCache',
        ],
        'errorHandler' => [
            'errorAction' => 'site/error',
        ],
        'mail' => [
            'class' => 'yii\swiftmailer\Mailer',
            'useFileTransport' => true,
        ],
        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                [
                    'class' => 'yii\log\FileTarget',
                    'levels' => ['error', 'warning'],
                ],
            ],
        ],
        'db'    => [
            'class' => '\yii\db\Connection',
            'dsn'   => 'mysql:host=localhost;dbname=nullcms',
            'username' => 'root',
            'password'  => '<PASSWORD>',
        ],
        'view' => [
            'theme' => [
                'pathMap' => [
                    '@app/views' => '@app/web/themes/null',
                    '@app/modules' => '@app/web/themes/null',
                ],
                'basePath' => '@app/web/themes/null',
                'baseUrl' => '@web/themes/null',
            ],
        ],
    ],
    'modules' => [
        'config' => ['class' => 'bariew\\configModule\\Module'],
        'module' => ['class' => 'bariew\\moduleModule\\Module'],
    ],
    'params'    => [
        'adminEmail'    => '<EMAIL>'
    ]
], (file_exists(__DIR__ . '/local/main.php') ? (require __DIR__ . '/local/main.php') : []));
{'fraction_non_alphanumeric': 0.2035048049745619, 'fraction_numerical': 0.0022611644997173543, 'mean_word_length': 1.3321616871704745, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '294161', 'n_tokens_mistral': 1690, 'n_tokens_neox': 1632, 'n_words': 216}