mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
ci: upgrade PHPStan to v2 with baseline and full codebase coverage
- Upgrade phpstan/phpstan from 1.12.* to ^2.0 - Raise analysis level to max - Expand paths from 3 specific dirs to src/, app/, bin/, tests/ - Generate baseline capturing 95,365 existing errors for incremental adoption - Rename composer script from `check` to `analyze` - Add --memory-limit=1G to handle larger scan scope Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
aefa51f261
commit
937d94972f
5 files changed
+83245
-14
No files matched your search
@@ -116,7 +116,7 @@ jobs:
|
||||
- name: Run PHPStan
|
||||
run: |
|
||||
docker run --rm -v $PWD:/app composer:2.8 sh -c \
|
||||
"composer install --profile --ignore-platform-reqs && composer check"
|
||||
"composer install --profile --ignore-platform-reqs && composer analyze"
|
||||
|
||||
- name: Run Locale check
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user