dolibarr/htdocs
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
..
accountancy Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
adherents Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
admin Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
ai Qual: Fix notices for htdocs/admin/* (#30982) 2024-09-18 03:27:25 +02:00
api fix phpstan (#31189) 2024-09-29 21:51:51 +02:00
asset Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
asterisk NEW llxHeader BodyCss divers (#30723) 2024-08-23 15:22:03 +02:00
barcode Qual: Fix notices for htdocs/admin/* (#30982) 2024-09-18 03:27:25 +02:00
blockedlog fix phpstan (#31180) 2024-09-29 13:03:58 +02:00
bom Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
bookcal Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
bookmarks fix phpstan (#31187) 2024-09-29 21:50:37 +02:00
categories Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
collab Qual: Fix notices for htdocs/admin/* (#30982) 2024-09-18 03:27:25 +02:00
comm Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
commande Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
compta Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
conf Fix sql error 2024-09-13 14:49:28 +02:00
contact Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
contrat Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
core Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
cron Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
custom
datapolicy Clean php code from NOW() in sql 2024-09-05 13:04:13 +02:00
dav Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related (#31086) 2024-09-23 00:37:30 +02:00
debugbar Qual: Fix $fields related notices with Phan (#30704) 2024-08-21 13:23:35 +02:00
delivery Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-26 03:18:27 +02:00
don Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
ecm Prepare code to allow ECM access to externale users 2024-09-26 02:36:36 +02:00
emailcollector Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
eventorganization Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
expedition Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
expensereport Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
exports NEW Add export profile to export MO and lines of consumption/production 2024-09-27 15:33:30 +02:00
externalsite
fichinter Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
fourn Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
ftp fix phpstan (#31006) 2024-09-20 02:20:33 +02:00
holiday Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
hrm Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
imports fix phpstan (#31102) 2024-09-25 22:21:31 +02:00
includes Remove html jpicker file (contains javascript) 2024-09-12 15:06:32 +02:00
install Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-26 23:17:00 +02:00
intracommreport Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop 2024-09-25 22:32:36 +02:00
knowledgemanagement Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
langs FIX Debug calculation of the delay of purchase order 2024-09-29 05:32:27 +02:00
loan Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop 2024-09-25 22:32:36 +02:00
mailmanspip/class Qual: Fix notices for htdocs/admin/* (#30982) 2024-09-18 03:27:25 +02:00
margin NEW llxHeader BodyCss divers (#30723) 2024-08-23 15:22:03 +02:00
modulebuilder Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
mrp Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
multicurrency Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
opensurvey Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
partnership Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop 2024-09-25 22:32:36 +02:00
paybox
paypal NEW llxHeader BodyCss divers (#30723) 2024-08-23 15:22:03 +02:00
printing fix phpstan (#31075) 2024-09-23 01:59:14 +02:00
product Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
projet Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
public fix phpstan (#31188) 2024-09-29 21:51:01 +02:00
reception Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
recruitment Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
resource Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
salaries fix phpstan (#31124) 2024-09-26 15:30:49 +02:00
societe Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
stripe fix phpstan (#31184) 2024-09-29 13:07:40 +02:00
supplier_proposal Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
support
takepos Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
theme CSS 2024-09-29 17:31:46 +02:00
ticket Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
user Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
variants Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
webhook Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
webportal Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
webservices Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
website add php doc (#31173) 2024-09-28 11:15:38 +02:00
workstation Qual: Enable & fix or ignore Invalid DimOffset (#31176) 2024-09-29 21:52:31 +02:00
zapier Qual: Fix $fields related notices with Phan (#30704) 2024-08-21 13:23:35 +02:00
.gitignore
document.php
favicon.ico
filefunc.inc.php
index.php Move warning at top 2024-09-10 14:06:37 +02:00
main.inc.php Look and feel v21 2024-09-28 17:05:44 +02:00
master.inc.php
opcachepreload.php
robots.txt
security.txt
viewimage.php fix extname for getimagepublicurlofobject (#30830) 2024-09-05 10:03:20 +02:00