Skip to content

Commit 18e8373

Browse files
committed
ci: patch generated phpstan.neon to remove stale excludePaths for src/Contract
1 parent 6996b7d commit 18e8373

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ jobs:
4242
- name: Initialize devkit (.kcode/ generation)
4343
run: kcode init
4444

45+
# src/Contract was removed in v4 — patch the generated phpstan.neon
46+
- name: Patch phpstan.neon (remove stale excludePaths)
47+
run: |
48+
sed -i '/excludePaths:/,/- \.\.\/src\/Contract/d' .kcode/phpstan.neon
49+
4550
# cs-fixer → phpstan (L9) → psalm → phpunit
4651
# Exit code ≠ 0 fails the job (zero-tolerance policy)
4752
- name: Run full quality pipeline

0 commit comments

Comments
 (0)