mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-06 20:18:10 +08:00
补齐 v8 分支的自动化质量保障,使插件化迁移、发布安装和架构边界都能在目标仓库内验证。 主要内容: - 新增 PHPUnit 配置和 smoke 测试,覆盖发布、安装与 think 命令加载。 - 新增根级 tests 用例,验证路由、构建器、插件边界和业务集成行为。 - 新增 PHPStan 配置与运行时 stub,避免 Composer 插件环境误报。 - 保留旧包、旧 View 和旧 helper 命名空间的防回归检查。
23 lines
692 B
Plaintext
23 lines
692 B
Plaintext
parameters:
|
|
level: 3
|
|
paths:
|
|
- app/
|
|
- config/
|
|
- plugin/
|
|
excludePaths:
|
|
- */runtime/*
|
|
- */vendor/*
|
|
- */tests/*
|
|
scanFiles:
|
|
- vendor/topthink/framework/src/helper.php
|
|
- vendor/topthink/think-orm/src/helper.php
|
|
- vendor/topthink/think-validate/src/helper.php
|
|
- plugin/think-library/src/common.php
|
|
- plugin/think-plugs-system/src/common.php
|
|
- plugin/think-plugs-worker/src/common.php
|
|
- plugin/think-plugs-wemall/src/common.php
|
|
- phpstan/stubs/legacy-plugin-aliases.php
|
|
- phpstan/stubs/composer-plugin-runtime.php
|
|
bootstrapFiles:
|
|
- tests/bootstrap.php
|