dolibarr/htdocs/compta
MDW 9a9e851494
Qual: Fix new UndeclaredGlobalVariable notices & enable (#30963)
* Qual: 🛟 Fix typing

Qual: Fix typing

Fix some typing currently failing ci in develop.

* Fix typing for grabimages

* Qual: Fix new UndeclaredGlobalVariable notices & enable

# Qual: Fix new UndeclaredGlobalVariable notices & enable

This fixes several new notices regarding 'undeclared globals' which
mostly correspond to missing initialisations in views and some real
bugs where the variable name was incorrect.
Some less obvious cases are unsolved and ignored (adherents/list,
and fourn/commande/card).

This is in preparation of fixing the notices in the other files
where the baseline was already set to ignore them where most just
need a phan-var-force declaration which will help with verifying
type compatibity and object member verifications
2024-09-16 01:50:58 +02:00
..
bank center 2024-09-15 13:28:37 +02:00
cashcontrol fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
charges Qual: Apply PhanPluginDuplicateExpressionAssignmentOperation as phan suggests (#30544) 2024-08-07 02:53:45 +02:00
deplacement Qual: Fix phan notices in classes related to class using getNextValue. (#30925) 2024-09-12 21:16:42 +02:00
facture Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice (#30957) 2024-09-16 01:49:38 +02:00
journal new: when initHook() and restrictedArea() exists always execute first initHook() (#30703) 2024-08-20 23:32:43 +02:00
localtax Fix permissions tests 2024-08-31 18:38:16 +02:00
paiement Qual: Fix new UndeclaredGlobalVariable notices & enable (#30963) 2024-09-16 01:50:58 +02:00
payment_sc fix phpstan (#30912) 2024-09-10 14:58:36 +02:00
payment_vat fix phpstan (#30912) 2024-09-10 14:58:36 +02:00
paymentbybanktransfer Fix phan notices related to fournisseur.facture.class.php 2024-03-29 23:48:40 +01:00
prelevement fix phpstan (#30912) 2024-09-10 14:58:36 +02:00
resultat fix phpstan (#30861) 2024-09-06 14:02:53 +02:00
sociales fix phpstan (#30944) 2024-09-13 17:40:03 +02:00
stats fix phpstan (#30861) 2024-09-06 14:02:53 +02:00
tva fix phpstan (#30944) 2024-09-13 17:40:03 +02:00
accounting-files.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-07 02:20:15 +02:00
ajaxpayment.php Qual: Enable Phan Simplify rule and fix notices (#30537) 2024-08-07 03:05:02 +02:00
clients.php Fix permissions tests 2024-08-31 18:38:16 +02:00
index.php Clean code to swith to code_compta_client 2024-08-14 16:51:53 +02:00
paiement_charge.php Fix css 2024-03-25 00:11:18 +01:00
paiement_vat.php Qual: Fix PhanTypeInvalidLeftOperandOfNumericOp (#30557) 2024-08-15 16:57:02 +02:00
paiement.php Better comments (#30200) 2024-06-30 21:02:50 +02:00
recap-compta.php new: when initHook() and restrictedArea() exists always execute first initHook() (#30703) 2024-08-20 23:32:43 +02:00