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 Fix arg type for preg_replace() by casting to string 2024-03-19 20:38:49 +01:00
canvas.class.php Fix: Always return value as suggested 2024-01-31 01:42:15 +01:00
ccountry.class.php Update ccountry.class.php 2024-01-30 21:22:21 +01:00
cgenericdic.class.php Fix: implode->join and duplicated if condition (#28761) 2024-03-11 12:55:55 +01:00
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 Fix typing 2024-03-29 18:26:48 +01:00
commondict.class.php qual: phpstan for htdocs/compta/paiement/class/cpaiement.class.php (#28062) 2024-02-08 00:16:22 +01:00
commondocgenerator.class.php Qual: Fix some CommonIncoterm/DocGenerator/People typings (#30940) 2024-09-13 03:09:23 +02:00
commonhookactions.class.php Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num, fix hooks typings (#29298) 2024-04-09 23:21:28 +02:00
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 Fix: implode->join and duplicated if condition (#28761) 2024-03-11 12:55:55 +01:00
cregion.class.php Fix default argument for code_region 2024-03-19 02:59:27 +01:00
CSMSFile.class.php Clean phan warnings 2024-05-30 13:37:17 +02:00
cstate.class.php Update cstate.class.php 2024-01-30 20:22:55 +01:00
ctypent.class.php Update ctypent.class.php 2024-01-30 20:25:46 +01:00
ctyperesource.class.php Fix: implode->join and duplicated if condition (#28761) 2024-03-11 12:55:55 +01:00
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 Scrutinizer Auto-Fixes 2020-10-31 13:32:18 +00:00
dolgeoip.class.php fix phpstan (#28606) 2024-03-04 18:27:49 +01:00
dolgeophp.class.php fix phan (#29460) 2024-04-24 21:52:25 +02:00
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 all initAsSpecimen return int (#28577) 2024-03-02 16:38:35 +01:00
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 Scrutinizer Auto-Fixes 2020-10-31 13:32:18 +00:00
geomapeditor.class.php NEW add geometrics extrafield (#28239) 2024-04-24 15:27:38 +02:00
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 Scrutinizer Auto-Fixes 2020-10-31 13:32:18 +00:00
html.formbarcode.class.php Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-29 13:39:20 +02:00
html.formcategory.class.php fix phpstan (#28727) 2024-03-09 14:48:06 +01:00
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 Debug v20 2024-04-24 02:59:43 +02:00
html.formcron.class.php Look and feel v20 2024-04-04 01:35:36 +02:00
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 Fix return type string instead of int (#28499) 2024-03-01 21:00:49 +01:00
html.formldap.class.php FIX syntax error 2021-11-12 16:56:26 +01:00
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 NEW: Add Filter on product reffering object status(Order and Order Supplier) (#28275) 2024-02-20 02:12:06 +01:00
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 Qual: Spelling htdocs/core (#27491) 2024-01-13 19:48:20 +01:00
html.formsetup.class.php Qual: Improve typing in Export class (#30859) 2024-09-09 03:15:26 +02:00
html.formsms.class.php fix precommit and clean code (#28651) 2024-03-07 16:57:29 +01:00
html.formsocialcontrib.class.php FIX convert core class 2022-01-27 10:19:35 +01:00
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 FIX return type of return by adding null in return (#28503) 2024-02-28 20:21:29 +01:00
link.class.php NEW: All fetchAll() method now support the USF syntax. 2024-03-11 11:23:34 +01:00
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 Fix Phan 2024-04-28 01:47:18 +02:00
notify.class.php NEW shipment signed status update (#30928) 2024-09-13 03:09:53 +02:00
openid.class.php Clean code from _GET 2024-03-28 17:10:22 +01:00
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 remove blank line 2022-09-07 20:14:49 +02:00