Perform maximum level static analysis on a PHP file (phpstan)
php phpstan.phar --memory-limit=4096M analyse --level max '~/index.php'
Analyzes a specific PHP file for potential errors using the strictest rule set and a 4GB memory limit.
php phpstan.phar --memory-limit=4096M analyse --level max '~/index.php'
Analyzes a specific PHP file for potential errors using the strictest rule set and a 4GB memory limit.