custom-php-running-static-analysis

star 1

Runs PHP static analysis using PHPStan with project-specific scope rules. Use when PHP code changes need static analysis; run full-application analysis only when the user explicitly requests it.

NaoyaMiyagawa By NaoyaMiyagawa schedule Updated 2/26/2026

name: custom-php-running-static-analysis description: Runs PHP static analysis using PHPStan with project-specific scope rules. Use when PHP code changes need static analysis; run full-application analysis only when the user explicitly requests it.

Custom PHP Running Static Analysis

Command

Specific file

Use this after changing any php code.

./vendor/bin/sail exec app ./vendor/bin/phpstan analyze {filepath}

Run entire app

This is only when user ask you to run for all and fix phpstan errors entirely because it takes long time to complete.

./vendor/bin/sail exec app ./vendor/bin/phpstan
Install via CLI
npx skills add https://github.com/NaoyaMiyagawa/dotfiles --skill custom-php-running-static-analysis
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
NaoyaMiyagawa
NaoyaMiyagawa Explore all skills →