dolibarr/htdocs/core/class
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
..
antivir.class.php
canvas.class.php
ccountry.class.php
cgenericdic.class.php
cleadstatus.class.php Fix phan 2024-06-04 10:44:44 +02:00
CMailFile.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
comment.class.php
commondict.class.php
commondocgenerator.class.php Qual: Fix some CommonIncoterm/DocGenerator/People typings (#30940) 2024-09-13 03:09:23 +02:00
commonhookactions.class.php
commonincoterm.class.php Qual: Fix some CommonIncoterm/DocGenerator/People typings (#30940) 2024-09-13 03:09:23 +02:00
commoninvoice.class.php fix ignored phpstan (#30645) 2024-08-16 20:13:02 +02:00
commonnumrefgenerator.class.php Fix phan error; Currently getExample has different signature defined 2024-09-03 17:59:06 +02:00
commonobject.class.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-16 00:08:33 +02:00
commonobjectline.class.php Define CommonObject relation in CommonObjectLine classes (#29956) 2024-06-10 16:08:39 +02:00
commonorder.class.php qual: Method getKanbanView() has parameter $arraydata with no value type specified in iterable type array. (#30712) 2024-08-22 03:31:04 +02:00
commonpeople.class.php Qual: Fix some CommonIncoterm/DocGenerator/People typings (#30940) 2024-09-13 03:09:23 +02:00
commonsignedobject.class.php NEW shipment signed status update (#30928) 2024-09-13 03:09:53 +02:00
commonsocialnetworks.class.php Qual: Fix PhanPluginUnknownObjectMethodCall ("part 1") (#30563) 2024-08-17 19:32:52 +02:00
commonstickergenerator.class.php Clean language 2024-06-30 15:26:31 +02:00
conf.class.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-12 22:06:18 +02:00
cproductnature.class.php
cregion.class.php
CSMSFile.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
cstate.class.php
ctypent.class.php
ctyperesource.class.php
cunits.class.php Qual: Apply PhanPluginDuplicateExpressionAssignmentOperation as phan suggests (#30544) 2024-08-07 02:53:45 +02:00
defaultvalues.class.php Qual: Fix $fields related notices with Phan (#30704) 2024-08-21 13:23:35 +02:00
diasporahandler.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
discount.class.php Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-01 01:22:54 +02:00
doldeprecationhandler.class.php FIX #30610 - Disable the deprecation mecanism. Too many regressions. 2024-08-13 11:53:21 +02:00
doleditor.class.php Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into 2024-09-14 02:44:26 +02:00
dolexception.class.php
dolgeoip.class.php
dolgeophp.class.php
dolgraph.class.php ignore phpstan error (#29974) 2024-06-10 20:49:58 +02:00
dolreceiptprinter.class.php Qual: Fix PhanUndeclaredMethod (#30661) 2024-08-19 02:05:27 +02:00
emailsenderprofile.class.php Qual: Fix $fields related notices with Phan (#30704) 2024-08-21 13:23:35 +02:00
evalmath.class.php Qual: Updates for phpstan notices (#30509) 2024-08-01 12:59:45 +02:00
events.class.php
extrafields.class.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-16 00:08:33 +02:00
extralanguages.class.php Qual: Apply PhanPluginDuplicateExpressionAssignmentOperation as phan suggests (#30544) 2024-08-07 02:53:45 +02:00
fediverseparser.class.php New refactoring fediverse class (#30572) 2024-08-13 12:19:37 +02:00
fileupload.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
fiscalyear.class.php Qual: Fix spelling/update .pre-commit configuration (versions) (#30546) 2024-08-07 01:20:43 +02:00
genericobject.class.php
geomapeditor.class.php
google.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
hookmanager.class.php Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-10 02:14:08 +02:00
html.form.class.php Debug the numbering module of tasks. Secodn param must be Project. 2024-09-06 15:38:52 +02:00
html.formaccounting.class.php Qual: Resolve ~200 phan notices/~100 phpstan notices (#30879) 2024-09-10 02:11:53 +02:00
html.formactions.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
html.formadmin.class.php Qual: Fix new UndeclaredGlobalVariable notices & enable (#30963) 2024-09-16 01:50:58 +02:00
html.formbank.class.php
html.formbarcode.class.php
html.formcategory.class.php
html.formcompany.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
html.formcontract.class.php
html.formcron.class.php
html.formexpensereport.class.php Debug v20 - popup of combo go out of screen 2024-06-24 15:08:16 +02:00
html.formfile.class.php Qual: Enable Phan Simplify rule and fix notices (#30537) 2024-08-07 03:05:02 +02:00
html.formintervention.class.php
html.formldap.class.php
html.formmail.class.php Qual: Fix $fields related notices with Phan (#30704) 2024-08-21 13:23:35 +02:00
html.formmailing.class.php Qual: Apply PhanPluginDuplicateExpressionAssignmentOperation as phan suggests (#30544) 2024-08-07 02:53:45 +02:00
html.formmargin.class.php Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-23 12:52:28 +02:00
html.formorder.class.php
html.formother.class.php Qual: Fix phan notices in classes related to class using getNextValue. (#30925) 2024-09-12 21:16:42 +02:00
html.formprojet.class.php fix checkFunctionArgumentTypes (#30234) 2024-07-03 02:30:53 +02:00
html.formpropal.class.php
html.formsetup.class.php Qual: Improve typing in Export class (#30859) 2024-09-09 03:15:26 +02:00
html.formsms.class.php
html.formsocialcontrib.class.php
html.formticket.class.php Fix #30828 bad save of contract id in ticket card (#30916) 2024-09-12 21:34:28 +02:00
html.formwebsite.class.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-28 18:50:34 +02:00
infobox.class.php Fix php 8.3 warnings (#30160) 2024-06-26 17:04:05 +02:00
interfaces.class.php Fix warnings 2024-07-31 14:19:08 +02:00
ldap.class.php Qual: 🛟 Fix CI Issues ($db to $this->db / LDAP typing / Win-ci cache md5sum) (#30774) 2024-08-29 09:24:33 +02:00
lessc.class.php
link.class.php
mastodonhandler.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
menu.class.php Try to fix phpstan warning 2024-08-03 13:51:03 +02:00
menubase.class.php
notify.class.php NEW shipment signed status update (#30928) 2024-09-13 03:09:53 +02:00
openid.class.php
reddithandler.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
rssparser.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
smtps.class.php fix ignored phpstan (most of expects string, int given) (#30649) 2024-09-05 16:05:37 +02:00
socialnetworkmanager.class.php New configuration for mastodonHandler (#30632) 2024-08-16 22:41:38 +02:00
stats.class.php Qual: Fix phan notices in classes related to class using getNextValue. (#30925) 2024-09-12 21:16:42 +02:00
timespent.class.php Qual: Fix phan notices in classes related to class using getNextValue. (#30925) 2024-09-12 21:16:42 +02:00
translate.class.php CSS 2024-07-29 01:21:08 +02:00
utils_diff.class.php fix phpdoc (#30668) 2024-08-20 03:19:13 +02:00
utils.class.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-12 22:06:18 +02:00
validate.class.php Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-06-25 15:13:51 +02:00
vcard.class.php Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-31 18:19:06 +02:00
workboardresponse.class.php