dolibarr/htdocs/core/lib
MDW 9a9e851494
Qual: Fix new UndeclaredGlobalVariable notices & enable (#30963)
* Qual: 🛟 Fix typing

Qual: Fix typing

Fix some typing currently failing ci in develop.

* Fix typing for grabimages

* Qual: Fix new UndeclaredGlobalVariable notices & enable

# Qual: Fix new UndeclaredGlobalVariable notices & enable

This fixes several new notices regarding 'undeclared globals' which
mostly correspond to missing initialisations in views and some real
bugs where the variable name was incorrect.
Some less obvious cases are unsolved and ignored (adherents/list,
and fourn/commande/card).

This is in preparation of fixing the notices in the other files
where the baseline was already set to ignore them where most just
need a phan-var-force declaration which will help with verifying
type compatibity and object member verifications
2024-09-16 01:50:58 +02:00
..
accounting.lib.php Qual: Fix PhanTypeInvalidLeftOperandOfNumericOp (#30557) 2024-08-15 16:57:02 +02:00
admin.lib.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
agenda.lib.php Clean code to swith to code_compta_client 2024-08-14 16:51:53 +02:00
ajax.lib.php Qual: Resolve ~200 phan notices/~100 phpstan notices (#30879) 2024-09-10 02:11:53 +02:00
asset.lib.php
bank.lib.php Cleanaccount (#29271) 2024-04-20 21:53:40 +01:00
barcode.lib.php Clean code for barcode generators 2024-05-22 15:49:33 +02:00
categories.lib.php
company.lib.php Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into 2024-09-12 21:50:31 +02:00
contact.lib.php
contract.lib.php
cron.lib.php
customreports.lib.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
date.lib.php fix ignored phpstan (#30645) 2024-08-16 20:13:02 +02:00
doc.lib.php
doleditor.lib.php
donation.lib.php
ecm.lib.php
emailing.lib.php
emaillayout.lib.php NEW Preview product list when we choose model layout Commerce (#30185) 2024-08-15 17:39:15 +02:00
eventorganization.lib.php
expedition.lib.php Fix PhanPluginRedundantAssignment 2024-03-13 00:58:37 +01:00
expensereport.lib.php Fix PhanPluginRedundantAssignment 2024-03-13 00:58:37 +01:00
fichinter.lib.php fix typos (#30630) 2024-08-13 20:29:40 +02:00
files.lib.php Doc 2024-09-06 13:49:15 +02:00
fiscalyear.lib.php
format_cards.lib.php
fourn.lib.php New dislay for listing events of invoic supplier (#30714) 2024-08-24 13:41:20 +02:00
ftp.lib.php Fix $port type to ssh2_connect, ftp_ssl_connect, ftp_connect with cast 2024-03-19 02:59:12 +01:00
functions_ch.lib.php
functions_fi.lib.php Update functions_fi.lib.php (#29819) 2024-06-03 17:29:36 +02:00
functions.lib.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-14 02:45:04 +02:00
functions2.lib.php Qual: Fix new UndeclaredGlobalVariable notices & enable (#30963) 2024-09-16 01:50:58 +02:00
functionsnumtoword.lib.php Qual: Fix PhanTypeInvalidLeftOperandOfNumericOp (#30557) 2024-08-15 16:57:02 +02:00
geturl.lib.php Clean code 2024-03-20 00:08:30 +01:00
holiday.lib.php
hrm.lib.php
images.lib.php NEW Add getImageFromHtmlContent() method 2024-09-14 01:36:31 +02:00
import.lib.php
invoice.lib.php Clean code to swith to code_compta_client 2024-08-14 16:51:53 +02:00
invoice2.lib.php fix phpstan expects values (#30324) 2024-07-09 19:28:59 +02:00
json.lib.php Fix phan warning 2024-07-13 18:35:03 +02:00
ldap.lib.php Qual: Fix PhanPluginUnknownObjectMethodCall ("part 1") (#30563) 2024-08-17 19:32:52 +02:00
loan.lib.php Qual: Fix PhanTypeInvalidLeftOperandOfNumericOp (#30557) 2024-08-15 16:57:02 +02:00
mailmanspip.lib.php Debug v20 2024-04-03 12:25:06 +02:00
member.lib.php Improve typing for member_prepare_head() return value 2024-03-27 10:22:51 +01:00
memory.lib.php fix ignored phpstan (#30645) 2024-08-16 20:13:02 +02:00
modulebuilder.lib.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
multicurrency.lib.php
oauth.lib.php Enabled the generic oauth2 handler 2024-08-13 20:26:49 +02:00
openid_connect.lib.php NEW Module to setup OpenID Connect module (#30317) 2024-07-21 02:12:03 +02:00
order.lib.php Rename french module name into english 2024-05-13 10:45:20 +02:00
parsemd.lib.php Better management of MD file with style HTML tags 2024-03-24 03:23:07 +01:00
payments.lib.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
pdf.lib.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
phpsessionindb.lib.php fix checkFunctionArgumentTypes (#30234) 2024-07-03 02:30:53 +02:00
prelevement.lib.php
price.lib.php Qual: Fix spelling/update .pre-commit configuration (versions) (#30546) 2024-08-07 01:20:43 +02:00
product.lib.php replace relatives url (#30719) 2024-08-23 15:28:41 +02:00
profid.lib.php Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:43 +01:00
project.lib.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
propal.lib.php module delivery_note not exist (no own module descriptor) is global MAIN_SUBMODULE_DELIVERY 2024-03-12 11:46:12 +01:00
receiptprinter.lib.php
reception.lib.php
report.lib.php
resource.lib.php
salaries.lib.php
security.lib.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-12 01:43:43 +02:00
security2.lib.php Qual: Enable Phan Simplify rule and fix notices (#30537) 2024-08-07 03:05:02 +02:00
sendings.lib.php NEW shipment signed status update (#30928) 2024-09-13 03:09:53 +02:00
signature.lib.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
socialnetwork.lib.php Fix tabs must appears only on setup of module 2024-08-13 23:34:21 +02:00
stock.lib.php
supplier_proposal.lib.php
takepos.lib.php
tax.lib.php fix dol syslog message (#30306) 2024-07-08 21:52:03 +02:00
ticket.lib.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
treeview.lib.php Merge 2024-04-27 03:32:22 +02:00
trip.lib.php
usergroups.lib.php Debug v20 2024-06-19 02:09:59 +02:00
vat.lib.php
website.lib.php Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice (#30957) 2024-09-16 01:49:38 +02:00
website2.lib.php fix-seo-meta-tags-sanitization (#30924) 2024-09-12 21:35:38 +02:00
ws.lib.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
xcal.lib.php Typo 2024-07-08 16:51:15 +02:00