Files
dolibarr/build/phpstan
..
2023-08-05 21:04:59 +02:00
2023-08-05 13:46:58 +02:00

PHPStan 

https://phpstan.org 

PHPStan requires PHP >= 7.1

Config File:  phpstan.neon

Install:  
cd git
mkdir phpstan
cd phpstan
composer require --dev phpstan/phpstan

Execute:
cd git/dolibarr
mv htdocs/custom /tmp/
php8.2 ../phpstan/htdocs/includes/bin/phpstan -v analyze -a build/phpstan/bootstrap.php --memory-limit 4G --error-format=table htdocs/commande/class 
mv /tmp/custom htdocs