dolibarr/htdocs/categories
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 Debug v20: Encapsulate the feature using leaflet/geophp into a constant 2024-05-03 02:39:35 +02:00
class Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
card.php Qual: Fix notices for htdocs/admin/* (#30982) 2024-09-18 03:27:25 +02:00
edit.php fix phpstan (#30989) 2024-09-18 02:45:54 +02:00
index.php Better comments (#30200) 2024-06-30 21:02:50 +02:00
info.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
photos.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-31 17:30:32 +02:00
traduction.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
viewcat.php Qual: Add centpecent to codespell, fix css (#31178) 2024-09-29 13:09:09 +02:00