phpstan-fix

star 161

Run PHPStan and fix all reported errors in src/

mglaman By mglaman schedule Updated 2/19/2026

name: phpstan-fix description: Run PHPStan and fix all reported errors in src/

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.

Install via CLI
npx skills add https://github.com/mglaman/drupalorg-cli --skill phpstan-fix
Repository Details
star Stars 161
call_split Forks 35
navigation Branch main
article Path SKILL.md
More from Creator