refactor: renamed namespace from Da\User to pcrt\User
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.
This commit is contained in:
2025-10-15 10:22:32 +02:00
parent eba9671e1b
commit 1c1ce6ccff
208 changed files with 736 additions and 734 deletions

View File

@ -4,7 +4,7 @@ return [
'id' => 'yii2-test-console',
'basePath' => dirname(__DIR__),
'aliases' => [
'@Da/User' => dirname(dirname(dirname(__DIR__))) . '/src/User',
'@pcrt/User' => dirname(dirname(dirname(__DIR__))) . '/src/User',
'@tests' => dirname(dirname(__DIR__)),
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
@ -14,7 +14,7 @@ return [
'cache' => null,
'db' => require __DIR__ . '/db.php',
'authManager' => [
'class' => Da\User\Component\AuthDbManagerComponent::class,
'class' => pcrt\User\Component\AuthDbManagerComponent::class,
],
'i18n' => [
'translations' => [
@ -34,7 +34,7 @@ return [
'class' => yii\console\controllers\MigrateController::class,
'migrationPath' => null,
'migrationNamespaces' => [
'Da\User\Migration',
'pcrt\User\Migration',
],
],
],

View File

@ -1,22 +1,22 @@
<?php
use Da\User\Filter\TwoFactorAuthenticationEnforceFilter;
use pcrt\User\Filter\TwoFactorAuthenticationEnforceFilter;
return [
'id' => 'yii2-user-tests',
'basePath' => dirname(__DIR__),
'language' => 'en-US',
'aliases' => [
'@Da/User' => dirname(dirname(dirname(__DIR__))) . '/src/User',
'@pcrt/User' => dirname(dirname(dirname(__DIR__))) . '/src/User',
'@tests' => dirname(dirname(__DIR__)),
'@vendor' => VENDOR_DIR,
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'bootstrap' => ['Da\User\Bootstrap'],
'bootstrap' => ['pcrt\User\Bootstrap'],
'modules' => [
'user' => [
'class' => 'Da\User\Module',
'class' => 'pcrt\User\Module',
'administrators' => ['user'],
],
],

View File

@ -2,7 +2,7 @@
namespace app\controllers;
use Da\User\Filter\AccessRuleFilter;
use pcrt\User\Filter\AccessRuleFilter;
use yii\filters\AccessControl;
use yii\web\Controller;