phpstan
A PHP static analysis tool to discover bugs in code. More information: https://phpstan.org/user-guide/command-line-usage.
- Analyze one or more directories:
phpstan analyse
- Analyze a directory using a configuration file:
phpstan analyse
- Analyze using a specific rule level (0-10, higher is stricter):
phpstan analyse
- Specify an autoload file to load before analyzing:
phpstan analyse
- Specify a memory limit during analysis:
phpstan analyse --memory-limit
- Display available options for analysis:
phpstan analyse --help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
