phpstan is a linter for PHP. You can enable the phpstan linter with:Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-sam-gutentag-flaky-tests-new-monitors.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Auto Enabling
phpstan will never be auto-enabled. It must be enabled manually.Settings
phpstan supports the following config files:phpstan.neonphpstan.neon.distphpstan.dist.neon
.trunk/configs and trunk check will still find them. See Moving Linters for more info.
Links
- phpstan site
- phpstan Trunk Code Quality integration source
- Trunk Code Quality’s open source plugins repo