From 2777857f5be3bcce845265520db622dbf3ca511d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 4 Aug 2023 03:24:41 +0200 Subject: [PATCH] Fix phpstan --- build/phpstan/README | 2 +- build/phpstan/bootstrap.php | 8 ++++---- phpstan.neon | 4 ++++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/build/phpstan/README b/build/phpstan/README index b17ad6973e4..7bd629f75d4 100644 --- a/build/phpstan/README +++ b/build/phpstan/README @@ -14,4 +14,4 @@ composer require --dev phpstan/phpstan Execute: cd git/dolibarr -php8.2 ../phpstan/htdocs/includes/bin/phpstan -v analyze -a build/phpstan/bootstrap.php htdocs/commande/class -l0 --memory-limit 2G +php8.2 ../phpstan/htdocs/includes/bin/phpstan -v analyze -a build/phpstan/bootstrap.php htdocs/commande/class -l0 --memory-limit 12G diff --git a/build/phpstan/bootstrap.php b/build/phpstan/bootstrap.php index ca48ebb2833..46c5aec48c5 100644 --- a/build/phpstan/bootstrap.php +++ b/build/phpstan/bootstrap.php @@ -1,10 +1,10 @@