Run vendor/bin/phpstan analyse src --error-format=raw, then fix every reported
error. Prefer adding proper type annotations and null checks over suppressor
comments (@phpstan-ignore). Do not change business logic — only satisfy the
type checker. Re-run until the output is clean.
phpstan-fix
运行PHPStan,并修复src/目录下所有报告的错误。
SKILL.md
--- frontmattername: phpstan-fix description: Run PHPStan and fix all reported errors in src/