dolibarr/htdocs
MDW d93fd1839c
Fix typing for showOutputFieldForObject (#28709)
# Fix typing for showOutputFieldForObject

Type hint that $value can also be a list of strings.
Also updated the "else-if" sequence so that a static tool checker can
still appropriately detect when $value is a string and when it is
a list of strings so that it provides correct feedback.
Added an error message to the syslog in case we got an array but not
"array" as the value for "$type"
2024-03-08 21:40:18 +01:00
..
accountancy Qual: Ignore/workaround SuspiciousParamOrder detection (#28688) 2024-03-08 12:34:25 +01:00
adherents Fix undefined property 2024-03-08 21:21:27 +01:00
admin Qual: Ignore/workaround SuspiciousParamOrder detection (#28688) 2024-03-08 12:34:25 +01:00
ai Debug module AI 2024-03-06 00:46:04 +01:00
api Fix: PHPDoc annotations in unappropriate comment (#28713) 2024-03-08 21:27:09 +01:00
asset Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
asterisk
barcode
blockedlog Fix: Remove extra space in translation key (#28611) 2024-03-04 18:26:57 +01:00
bom Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
bookcal Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
bookmarks
categories Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
collab
comm Fix: $form argument to price() must be int (#28699) 2024-03-08 21:30:04 +01:00
commande Fix: $form argument to price() must be int (#28699) 2024-03-08 21:30:04 +01:00
compta Fix: $form argument to price() must be int (#28699) 2024-03-08 21:30:04 +01:00
conf
contact Fix regression 2024-03-08 17:54:32 +01:00
contrat all initAsSpecimen return int (#28577) 2024-03-02 16:38:35 +01:00
core Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
cron QUAL: Remove use of customurl filter. Must use the USF syntax. 2024-03-05 03:51:36 +01:00
custom
datapolicy QUAL The signature for all ->delete() method has been modified to match 2024-03-07 17:58:02 +01:00
dav
debugbar
delivery all initAsSpecimen return int (#28577) 2024-03-02 16:38:35 +01:00
don Fix: $form argument to price() must be int (#28699) 2024-03-08 21:30:04 +01:00
ecm QUAL: Remove use of customurl filter. Must use the USF syntax. 2024-03-05 03:51:36 +01:00
emailcollector fix precommit and clean code (#28651) 2024-03-07 16:57:29 +01:00
eventorganization Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
expedition Fix: $form argument to price() must be int (#28699) 2024-03-08 21:30:04 +01:00
expensereport Qual: Ignore/workaround SuspiciousParamOrder detection (#28688) 2024-03-08 12:34:25 +01:00
exports Qual: Ignore false positive for suspicious param positions (#28693) 2024-03-07 20:16:48 +01:00
externalsite
fichinter Qual: Ignore/workaround SuspiciousParamOrder detection (#28688) 2024-03-08 12:34:25 +01:00
fourn Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
ftp
holiday Qual: Ignore/workaround SuspiciousParamOrder detection (#28688) 2024-03-08 12:34:25 +01:00
hrm Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
imports Qual: Ignore false positive for suspicious param positions (#28693) 2024-03-07 20:16:48 +01:00
includes
install Fix element type size (#28664) 2024-03-07 20:27:51 +01:00
intracommreport QUAL The signature for all ->delete() method has been modified to match 2024-03-07 17:58:02 +01:00
knowledgemanagement QUAL Clean code around dol_eval use 2024-03-06 17:07:24 +01:00
langs NEW updated resource list for new fields (#28705) 2024-03-08 12:09:32 +01:00
loan qual: phpstan for htdocs/loan/class/paymentloan.class.php (#28704) 2024-03-08 12:09:49 +01:00
mailmanspip/class add phpdoc (#28639) 2024-03-05 17:11:46 +01:00
margin Qual: Ignore/workaround SuspiciousParamOrder detection (#28688) 2024-03-08 12:34:25 +01:00
modulebuilder Fix missing search_all 2024-03-08 19:39:33 +01:00
mrp Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
multicurrency
opensurvey Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
partnership Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
paybox
paypal
printing
product Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
projet Fix: $form argument to price() must be int (#28699) 2024-03-08 21:30:04 +01:00
public Qual: Ignore/workaround SuspiciousParamOrder detection (#28688) 2024-03-08 12:34:25 +01:00
reception Qual: Ignore/workaround SuspiciousParamOrder detection (#28688) 2024-03-08 12:34:25 +01:00
recruitment Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
resource NEW updated resource list for new fields (#28705) 2024-03-08 12:09:32 +01:00
salaries Qual: Ignore/workaround SuspiciousParamOrder detection (#28688) 2024-03-08 12:34:25 +01:00
societe Fix: $form argument to price() must be int (#28699) 2024-03-08 21:30:04 +01:00
stripe fix phpstan property does not accept string (#28574) 2024-03-02 12:41:12 +01:00
supplier_proposal Fix: $form argument to price() must be int (#28699) 2024-03-08 21:30:04 +01:00
support
takepos Qual: Ignore false positive for suspicious param positions (#28693) 2024-03-07 20:16:48 +01:00
theme fix precommit and clean code (#28651) 2024-03-07 16:57:29 +01:00
ticket Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
user Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
variants QUAL Clean code around dol_eval use 2024-03-06 17:07:24 +01:00
webhook Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
webportal Fix typing for showOutputFieldForObject (#28709) 2024-03-08 21:40:18 +01:00
webservices
website Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
workstation Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
zapier Qual: Fix and enable alias deprecation detection (#28716) 2024-03-08 21:34:18 +01:00
.gitignore
document.php
favicon.ico
filefunc.inc.php Prepare 19.0.1 2024-03-03 18:50:28 +01:00
index.php
main.inc.php Qual: Ignore false positive for suspicious param positions (#28693) 2024-03-07 20:16:48 +01:00
master.inc.php
opcachepreload.php
robots.txt
security.txt
viewimage.php