phpstan
phpstan is a linter for PHP.
You can enable the phpstan linter with:
trunk check enable phpstanAuto 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
You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.
Links
phpstan Trunk Code Quality integration source
Trunk Code Quality's open source plugins repo
Last updated

