* Qual: Fix phan notices wrt main.inc.php, menus
# Qual: Fix phan notices wrt main.inc.php, menus
This fixes phan notices stemming from main.inc.php and the menu classes.
* Qual: Fix phpstan notice that dol_authmode always set
# Qual: Fix phpstan notice that dol_authmode always set
dol_authmode is always set because it is now initialised.
* Update setValueFrom $id type to include null
* Only 2 arguments for ModeleNumRefMembers::getToolTip
* Fix PhanTypeConversionFromArray
* Only 6 args for PaymentSalary::addPaymentToBank
* Fix typing hints (array -> string)
* Fix uninitialized variables
* Add cssview to attributes phpdoc
* Avoid double typing specification (Phan notice)
* Qual: Ensure variable is defined (phan)
* Ensure phpdoc typing for verif method
* Ensure phpdoc typing for getNextValue method
* Add status as data key in cols array
* Ensure preg_replace operates on string (phan)
* Correct type for desiredstock
* Fix typing with casts (phan)
* Fix check that notification already exists
* Initialise fk_parent_id to fix typing issue
* Qual: Fix phan notices for Societe & related
* Qual: Fix typing for Facture and related
* Qual: Fix typing for Product & related
* Update baseline
* Fix new phpstan notices
* NEW Display for socialnetworks admin
* Fix pre-commit errors
* New functionality for custom socialnetworks
* Fix CTI errors
* Fix phan errors
* Fix Phan errors
* Fix display tabs for setup socialnetworks
* Fix CTI errors
* Fix CTI errors
* remove comments
* New display widget for fediverse
* Add test to the end for get_fiche_en
* Fix pre-commit and phan CTI errors
* update translation for title of widget
* Fix errors and update function loadBox
* add translation and fix error phpstan
* Refactoring Fediverse class for handling social networks in each class
* Fix CTI errors
* remove return function
* add description for attribute
* Fix phpStan errors
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* based on createCompanyNotification, just trying to do it with code and not id number
* can now create notifications by action trigger code
* will now prevent duplications
* checks if request_data contains event or fk_action key because then it uses that and not the action code supplied as text
* checks if request_data contains event or fk_action key because then it uses that and not the action code supplied as text
* now requires a well formed request_data with an event key
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
* introducing new global variable API_LOGINS_ALLOWED_FOR_GET_EXTRAFIELDS, code copied and modified from public function getModules()
* trying to use a different method to read the variable
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>