dolibarr/htdocs/fourn/commande
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
..
tpl Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice (#30957) 2024-09-16 01:49:38 +02:00
card.php QUAL: Edition of currency is shared in a common tpl file 2024-09-26 12:22:03 +02:00
contact.php new: when initHook() and restrictedArea() exists always execute first initHook() (#30703) 2024-08-20 23:32:43 +02:00
dispatch.php QUAL : Ergo btn and fix (#30947) 2024-09-13 17:30:41 +02:00
document.php Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
index.php Use the non deprecated function loadRights instead of getrights 2024-08-02 10:36:43 +02:00
info.php new: when initHook() and restrictedArea() exists always execute first initHook() (#30703) 2024-08-20 23:32:43 +02:00
list.php Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
note.php Better comments (#30200) 2024-06-30 21:02:50 +02:00