GS/BS
← Standards directory
Type safety

PHPStan.

Check PHP type assumptions

Analyze project code at an explicit rule level. Capture existing errors in a reviewed baseline and require new code to satisfy the chosen level.

PHP

Use this standard

Run the check with the tool installed and configured for your project.

vendor/bin/phpstan analyse

Agent prompt

Use PHPStan in this repository to meet this standard: Check PHP type assumptions. Analyze project code at an explicit rule level. Capture existing errors in a reviewed baseline and require new code to satisfy the chosen level. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Read the agent skill ↗

Seikika package

The catalog has no verified package for this entry yet.

Adoption readiness

runnable · 4 of 5 evidence checks passed.

  • Pass · Defined scope — Check PHP type assumptions · PHP
  • Pass · Upstream reference — https://phpstan.org/
  • Pass · Agent prompt — Use PHPStan in this repository to meet this standard: Check PHP type assumptions. Analyze project code at an explicit rule level. Capture existing errors in a reviewed baseline and require new code to satisfy the chosen level. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
  • Pass · Tool command — vendor/bin/phpstan analyse
  • Missing · Seikika package — No Seikika package is listed.
How Seikika scores entries ↗

Primary source

PHPStan documentation ↗