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 NEW Asset Module - make asset model creation in a single step (#26982) 2024-02-01 16:26:25 +01:00
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 Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
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 Fix: Replace deprecated modulename with new in isModEnabled (#28452) 2024-02-27 15:30:37 +01:00
contract.lib.php Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
cron.lib.php Clean code with rector 2 2024-01-05 04:33:58 +01:00
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 Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
doleditor.lib.php Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
donation.lib.php Fix css 2022-09-22 14:42:58 +02:00
ecm.lib.php Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
emailing.lib.php Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
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 add extrafields count in admin eventorganization 2023-02-09 23:55:42 +01:00
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 Scrutinizer Auto-Fixes 2020-10-31 13:32:18 +00:00
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 Fix: Initialise array before assigning values (#28728) 2024-03-09 16:32:02 +01:00
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 Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
hrm.lib.php Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
images.lib.php NEW Add getImageFromHtmlContent() method 2024-09-14 01:36:31 +02:00
import.lib.php Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
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 code syntax core directory 2021-02-23 22:03:23 +01:00
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 Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
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 code syntax core directory 2021-02-23 22:03:23 +01:00
reception.lib.php change to receptiondet_batch into scripts 2024-01-15 09:40:59 +01:00
report.lib.php Fix #28071 - New branch to fix bad merge (#28083) 2024-02-09 15:58:49 +01:00
resource.lib.php Fix with php-cs-fixer 2023-12-04 12:05:28 +01:00
salaries.lib.php Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
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 Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
supplier_proposal.lib.php Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
takepos.lib.php Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-08-31 17:57:14 +02:00
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 Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
usergroups.lib.php Debug v20 2024-06-19 02:09:59 +02:00
vat.lib.php code syntax core directory 2021-02-23 22:03:23 +01:00
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