* Qual: Fix FunctionArray phan notices
* Fix class name in typing of htdocs/modulebuilder/index.php
* Fix customreports phpdoc
* Adjust file type after completeFileArrayWithDatabaseInfo
* Further phpdoc typing improvements
* More phpdoc
* Improve typing with cast on position field
* Force phpstan version
* Add phpstan exception
* Fix array index type + adjust phan config comment
* New setting for holiday updates
* FIX: holidays accounting at the end of taken month: log consumption for every request + update translations
* FIX: holidays accounting at the end of taken month: update conf name
* FIX: holidays accounting at the end of taken month: refactor monthly cron update
* FIX: holidays accounting at the end of taken month: update conf translation
* FIX: holidays accounting at the end of taken month: initialize holiday array + delete duplicate code
* New setting for holiday updates
* FIX: holidays accounting at the end of taken month: log consumption for every request + update translations
* FIX: holidays accounting at the end of taken month: update conf name
* FIX: holidays accounting at the end of taken month: refactor monthly cron update
* FIX: holidays accounting at the end of taken month: update conf translation
* FIX: holidays accounting at the end of taken month: initialize holiday array + delete duplicate code
* FIX: holidays accounting at the end of taken month: clean code
* FIX: holidays accounting at the end of taken month: empty now used on variables
* FIX: holidays accounting at the end of taken month: resolve not casted var in sql request
* FIX: holidays accounting at the end of taken month: now using only dolibarr functions
* FIX: holidays accounting at the end of taken month: fix php-stan and rework casting to int
* FIX: holidays accounting at the end of taken month: fix php-stan and rework casting to int (2)
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Yannis Hoareau <93135242+JustRaosha@users.noreply.github.com>
# Qual: Fix phan notices
Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Qual: Fix getTooltipContentArray typing hints
# Qual: Fix getTooltipContentArray typing hints
This defines the aray type for all getTooltipContentArray occurences
* Ignore undeclared property ref_supplier (does not exist on OrderLine)
* Qual: 🛟 Fix reference to $db with $this->db
# Qual: reference to $db with $this->db
$db was undeclared, use $this->db.
* Fix suspected issue with environment max size and md5sum working on limited files
* Qual: Fix LDAP typing
* Qual: Fix getNextValue related phan notices (part2)
* Update baseline
* Qual: Fix phan notice