<commit_before><?php
$params = array_merge(
    require(__DIR__ . '/../../common/config/params.php'),
    require(__DIR__ . '/../../common/config/params-local.php'),
    require(__DIR__ . '/params.php'),
    require(__DIR__ . '/params-local.php')
);

return [
    'id' => 'app-frontend',
    'basePath' => dirname(__DIR__),
    'bootstrap' => ['log'],
    'controllerNamespace' => 'frontend\controllers',
    'aliases' => [
        'taskAssets' => Yii::getAlias('@frontend') . '\\modules\\task\\assets'
    ],

    'modules' => [
        'login' => [
            'class' => 'frontend\modules\login\Login',
        ],
        'profile' => [
            'class' => 'frontend\modules\profile\Profile',
        ],
        'task' => [
            'class' => 'frontend\modules\task\Task',
        ],
        'profile' => [
            'class' => 'frontend\modules\profile\Profile',
        ],
        'mainpage' => [
            'class' => 'frontend\modules\mainpage\Mainpage',
        ],
        'feedback' => [
            'class' => 'frontend\modules\feedback\Feedback',
        ],
        'statistics' => [
                'class' => 'frontend\modules\statistics\Statistics',
            ],
    ],
    'components' => [
        'request' => [
            'baseUrl' => '',
        ],
        'urlManager' => [
            'enablePrettyUrl' => true,
            'showScriptName' => false,
            'rules' => [
                'loginto' => 'login/login/view',
                'logout' => 'login/login/logout',
                'registration' => 'login/reg',
                'profile' => 'profile/profile',
                'profile/edit' => 'profile/profile/edit',
                'forgot' => 'login/reg/forgot',
                'addphoto' => 'profile/profile/addphoto',
                '' => 'mainpage/mainpage/',
                'feedback' => 'feedback/feedback',
            ],
            // ...
        ],
        'user' => [
            'identityClass' => 'common\models\User',
            'enableAutoLogin' => true,
        ],

        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                [
                    'class' => 'yii\log\FileTarget',
                    'levels' => ['error', 'warning'],
>>>>>>> 2b8f597e5de1b297f7d7e8035fb8d49cb0f972e9
                ],

            ],
            'user'         => [
                'identityClass'   => 'common\models\User',
                'enableAutoLogin' => true,

            ],
        ],
        'errorHandler' => [
            'errorAction' => 'site/error',
        ],
    ],
    'params' => $params,
];<commit_msg>домерджил<commit_after><?php
    $params = array_merge(
        require(__DIR__ . '/../../common/config/params.php'),
        require(__DIR__ . '/../../common/config/params-local.php'),
        require(__DIR__ . '/params.php'),
        require(__DIR__ . '/params-local.php')
    );

    return [
        'id'                  => 'app-frontend',
        'basePath'            => dirname(__DIR__),
        'bootstrap'           => ['log'],
        'controllerNamespace' => 'frontend\controllers',
        'aliases'             => [
            'taskAssets' => Yii::getAlias('@frontend') . '\\modules\\task\\assets'
        ],

        'modules'             => [
            'login'      => [
                'class' => 'frontend\modules\login\Login',
            ],
            'profile'    => [
                'class' => 'frontend\modules\profile\Profile',
            ],
            'task'       => [
                'class' => 'frontend\modules\task\Task',
            ],
            'profile'    => [
                'class' => 'frontend\modules\profile\Profile',
            ],
            'mainpage'   => [
                'class' => 'frontend\modules\mainpage\Mainpage',
            ],
            'feedback'   => [
                'class' => 'frontend\modules\feedback\Feedback',
            ],
            'statistics' => [
                'class' => 'frontend\modules\statistics\Statistics',
            ],
        ],
        'components'          => [
            'request'      => [
                'baseUrl' => '',
            ],
            'urlManager'   => [
                'enablePrettyUrl' => true,
                'showScriptName'  => false,
                'rules'           => [
                    'loginto'      => 'login/login/view',
                    'logout'       => 'login/login/logout',
                    'registration' => 'login/reg',
                    'profile'      => 'profile/profile',
                    'profile/edit' => 'profile/profile/edit',
                    'forgot'       => 'login/reg/forgot',
                    'addphoto'     => 'profile/profile/addphoto',
                    ''             => 'mainpage/mainpage/',
                    'feedback'     => 'feedback/feedback',
                ],
                // ...
            ],
            'user'         => [
                'identityClass'   => 'common\models\User',
                'enableAutoLogin' => true,
            ],

            'log'          => [
                'traceLevel' => YII_DEBUG ? 3 : 0,
                'targets'    => [
                    [
                        'class'  => 'yii\log\FileTarget',
                        'levels' => ['error', 'warning'],
                    ],

                ],
                'user'       => [
                    'identityClass'   => 'common\models\User',
                    'enableAutoLogin' => true,

                ],
            ],
            'errorHandler' => [
                'errorAction' => 'site/error',
            ],
        ],
        'params'              => $params,
    ];
{'fraction_non_alphanumeric': 0.1713231418028466, 'fraction_numerical': 0.004920049200492005, 'mean_word_length': 1.151984877126654, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 112, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6114998', 'n_tokens_mistral': 1631, 'n_tokens_neox': 1545, 'n_words': 197}