Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.01 KB

phpstan.md

File metadata and controls

47 lines (33 loc) · 1.01 KB
description title layout
phpstan is a linter for PHP
Trunk | How to run phpstan
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

phpstan

phpstan is a linter for PHP.

You can enable the phpstan linter with:

trunk check enable phpstan

Auto Enabling

phpstan will never be auto-enabled. It must be enabled manually.

Settings

phpstan supports the following config files:

  • phpstan.neon
  • phpstan.neon.dist
  • phpstan.dist.neon

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.

Links