refactor: 适配项目目录结构从 app/ 改为 src/

修改 run-in-docker.sh 项目名以保持一致性
更新测试脚本和 composer.json 中的目录引用
添加项目文档和计划文件
This commit is contained in:
李东云
2025-11-28 18:07:48 +08:00
parent cb938d6130
commit 6bc423417c
8 changed files with 301 additions and 16 deletions

View File

@@ -3,4 +3,4 @@
# 代码风格检查脚本
# 检查代码风格,只使用配置文件中定义的规则
./run-in-docker.sh vendor/bin/php-cs-fixer check app/ --allow-risky=yes --config=.php-cs-fixer.dist.php
./run-in-docker.sh vendor/bin/php-cs-fixer check src/ --allow-risky=yes --config=.php-cs-fixer.dist.php

View File

@@ -3,4 +3,4 @@
# 代码风格修复脚本
# 修复代码风格,只使用配置文件中定义的规则
./run-in-docker.sh vendor/bin/php-cs-fixer fix app/ tests/ --allow-risky=yes --config=.php-cs-fixer.dist.php
./run-in-docker.sh vendor/bin/php-cs-fixer fix src/ tests/ --allow-risky=yes --config=.php-cs-fixer.dist.php

View File

@@ -3,4 +3,4 @@
# 代码静态分析脚本
# 运行完整的代码静态分析
./run-in-docker.sh vendor/bin/phpstan analyse app/ tests/
./run-in-docker.sh vendor/bin/phpstan analyse src/ tests/