mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
* Qual: Fix phpstan - type casting in treasuryjournal.php Added explicit type casting to float calculations. * Qual: Fix phpstan by testing possibly undefined $def_tva in VAT label generation * Qual: Add null initialization for static analysis Initialize $save_link_by_element and $save_element_by_link with null values to satisfy static analysis requirements (phpstan) and avoid possibly undefined notices. * Qual:(accountingjournal): Ignore line for phpstan phpstan can not see that $pre_data_info['error'] might be set. * Qual: Removed redundant tests Removed some redundant tests (detected by phpstan) --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>