PHPStan ist ein statisches Codeanalyse-Tool für PHP
composer require --dev phpstan/phpstan
vendor/bin/phpstan analyse DIR