Some checks failed
Build / build (ubuntu-latest, 7.4) (push) Has been cancelled
Build / build (ubuntu-latest, 8.0) (push) Has been cancelled
Build / build (ubuntu-latest, 8.1) (push) Has been cancelled
Build / build (ubuntu-latest, 8.2) (push) Has been cancelled
Build / build (ubuntu-latest, 8.3) (push) Has been cancelled
Build / build (ubuntu-latest, 8.4) (push) Has been cancelled
All PHP namespaces and related references have been updated from Da\User to pcrt\User throughout the codebase, including composer.json autoload settings and all source files. This change standardizes the project under the new pcrt\User namespace for improved clarity and maintainability.
42 lines
1.2 KiB
PHP
42 lines
1.2 KiB
PHP
<?php
|
|
|
|
return [
|
|
'id' => 'yii2-test-console',
|
|
'basePath' => dirname(__DIR__),
|
|
'aliases' => [
|
|
'@pcrt/User' => dirname(dirname(dirname(__DIR__))) . '/src/User',
|
|
'@tests' => dirname(dirname(__DIR__)),
|
|
'@bower' => '@vendor/bower-asset',
|
|
'@npm' => '@vendor/npm-asset',
|
|
],
|
|
'components' => [
|
|
'log' => null,
|
|
'cache' => null,
|
|
'db' => require __DIR__ . '/db.php',
|
|
'authManager' => [
|
|
'class' => pcrt\User\Component\AuthDbManagerComponent::class,
|
|
],
|
|
'i18n' => [
|
|
'translations' => [
|
|
'usuario*' => [
|
|
'class' => 'yii\i18n\PhpMessageSource',
|
|
'basePath' => __DIR__ . '/../../../src/User/resources/i18n',
|
|
'sourceLanguage' => 'en-US',
|
|
'fileMap' => [
|
|
'usuario' => 'usuario.php',
|
|
],
|
|
],
|
|
],
|
|
],
|
|
],
|
|
'controllerMap' => [
|
|
'migrate' => [
|
|
'class' => yii\console\controllers\MigrateController::class,
|
|
'migrationPath' => null,
|
|
'migrationNamespaces' => [
|
|
'pcrt\User\Migration',
|
|
],
|
|
],
|
|
],
|
|
];
|