dolibarr/htdocs/variants
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
..
admin Enhance modulebuilder 2024-02-12 07:10:49 +01:00
ajax Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
class Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl (#31087) 2024-09-26 23:01:02 +02:00
lib Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related (#31086) 2024-09-23 00:37:30 +02:00
tpl Standardize name of var for permission check 2024-09-01 13:02:28 +02:00
card.php new: when initHook() and restrictedArea() exists always execute first initHook() (#30703) 2024-08-20 23:32:43 +02:00
combinations.php fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
list.php Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00