<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-api',
  'basePath'            => dirname(__DIR__),
  'controllerNamespace' => 'backend\controllers',
  'bootstrap'           => [
    'log',
    'v1'
  ],
  'modules'             => [
    'v1' => [
      'class' => 'api\modules\v1\Module'   // here is our v1 modules
    ]
  ],
  'components'          => [
    'request'      => [
      // no need CSRF token
      'enableCsrfValidation' => false,
    ],
    'user'         => [
      'identityClass'   => 'common\models\User',
      'enableAutoLogin' => false,
      'enableSession' => false
    ],
    'log'          => [
      'traceLevel' => YII_DEBUG ? 3 : 0,<commit_msg>[fix] controller namespace of api<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-api',
  'basePath'            => dirname(__DIR__),
  'controllerNamespace' => 'api\controllers',
  'bootstrap'           => [
    'log',
    'v1'
  ],
  'modules'             => [
    'v1' => [
      'class' => 'api\modules\v1\Module'   // here is our v1 modules
    ]
  ],
  'components'          => [
    'request'      => [
      // no need CSRF token
      'enableCsrfValidation' => false,
    ],
    'user'         => [
      'identityClass'   => 'common\models\User',
      'enableAutoLogin' => false,
      'enableSession' => false
    ],
    'log'          => [
      'traceLevel' => YII_DEBUG ? 3 : 0,
{'fraction_non_alphanumeric': 0.19172113289760348, 'fraction_numerical': 0.006535947712418301, 'mean_word_length': 1.8748043818466353, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, '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': '6843965', 'n_tokens_mistral': 613, 'n_tokens_neox': 607, 'n_words': 103}