Files
dolibarr/htdocs/accountancy/closure
MDW 3b04eacf98 Qual: Fix multiple phpstan notices (#36083)
* 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>
2025-11-04 14:15:38 +01:00
..