mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
20 lines
392 B
Plaintext
20 lines
392 B
Plaintext
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
|