目录

PHPStan

安装

composer require --dev phpstan/phpstan

配置

phpstan.neon
parameters:
	level: 6
	paths:
		- src
		- tests

使用

vendor/bin/phpstan analyse --memory-limit=-1 src