dolibarr/htdocs/compta
MDW 42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* 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>
2024-09-29 21:52:31 +02:00
..
bank Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
cashcontrol Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop 2024-09-25 22:32:36 +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: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
journal new: when initHook() and restrictedArea() exists always execute first initHook() (#30703) 2024-08-20 23:32:43 +02:00
localtax fix phpstan (#31153) 2024-09-28 12:09:59 +02:00
paiement Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +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 Try more complete fix for #31117 2024-09-28 13:05:24 +02:00
resultat fix phpstan (#30861) 2024-09-06 14:02:53 +02:00
sociales Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
stats Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-26 19:36:09 +02:00
tva Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
accounting-files.php fix phpstan (#31102) 2024-09-25 22:21:31 +02:00
ajaxpayment.php Qual: Enable Phan Simplify rule and fix notices (#30537) 2024-08-07 03:05:02 +02:00
clients.php fix phpstan (#31102) 2024-09-25 22:21:31 +02:00
index.php Try more complete fix for #31117 2024-09-28 13:05:24 +02:00
paiement_charge.php fix phpstan (#30989) 2024-09-18 02:45:54 +02:00
paiement_vat.php fix phpstan (#30989) 2024-09-18 02:45:54 +02:00
paiement.php WIP IPN for charge.dispute.funds_withdrawn 2024-09-29 15:23:24 +02:00
recap-compta.php Try more complete fix for #31117 2024-09-28 13:05:24 +02:00