dolibarr/htdocs/comm
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
..
action Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
admin Debug v20: Encapsulate the feature using leaflet/geophp into a constant 2024-05-03 02:39:35 +02:00
mailing Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop 2024-09-25 22:32:36 +02:00
propal fix phpstan (#31189) 2024-09-29 21:51:51 +02:00
prospect Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
card.php NEW Add mode Customer price + level price (#31091) 2024-09-25 23:18:16 +02:00
contact.php fix phpstan (#31102) 2024-09-25 22:21:31 +02:00
index.php Qual: Fix notices for htdocs/admin/* (#30982) 2024-09-18 03:27:25 +02:00
multiprix.php new: when initHook() and restrictedArea() exists always execute first initHook() (#30703) 2024-08-20 23:32:43 +02:00
recap-client.php Fix: Replace deprecated modulename with new in isModEnabled (#28452) 2024-02-27 15:30:37 +01:00
remise.php Debug v20 Fix missing test on permissions 2024-08-31 17:23:13 +02:00
remx.php Look and feel 2024-06-29 10:46:16 +02:00