dolibarr/build/phpstan/README
Laurent Destailleur 00731380bc Fix phpstan
2023-08-04 03:42:46 +02:00

19 lines
375 B
Text

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 htdocs/commande/class -l0 --memory-limit 12G
mv /tmp/custom htdocs