* qual: phpstan for htdocs/adherents/class/adherent.class.php
htdocs/adherents/class/adherent.class.php 1692 Property Adherent::$invoice (Facture) does not accept null.
htdocs/adherents/class/adherent.class.php 2626 Property Adherent::$civility_id (string) does not accept int.
* phpcs
* Update originproductline.tpl.php
Fix unset $form on OF creation causing a fatal error when using $form->textwithpicto()
* Update originproductline.tpl.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
htdocs/ticket/class/ticket.class.php 192 Property Ticket::$datec (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php 197 Property Ticket::$tms (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php 202 Property Ticket::$date_read (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php 207 Property Ticket::$date_last_msg_sent (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php 212 Property Ticket::$date_close (int) does not accept default value of type string.
htdocs/ticket/class/ticket.class.php 272 PHPDoc type array of property Ticket::$lines is not covariant with PHPDoc type array of overridden property CommonObject::$lines.
htdocs/ticket/class/ticket.class.php 449 Property Ticket::$progress (int) does not accept string.
htdocs/ticket/class/ticket.class.php 1007 Property Ticket::$progress (int) does not accept string.
htdocs/ticket/class/ticket.class.php 1249 Property Ticket::$progress (int) does not accept string.
htdocs/ticket/class/ticket.class.php 1254 Property Ticket::$datec (int) does not accept string.
htdocs/ticket/class/ticket.class.php 1255 Property Ticket::$date_read (int) does not accept string.
htdocs/ticket/class/ticket.class.php 1256 Property Ticket::$date_last_msg_sent (int) does not accept string.
htdocs/ticket/class/ticket.class.php 1257 Property Ticket::$date_close (int) does not accept string.
htdocs/ticket/class/ticket.class.php 1258 Property Ticket::$tms (int) does not accept string.
htdocs/fourn/class/fournisseur.product.class.php 839 Property ProductFournisseur::$product_fourn_price_id (int) does not accept string.
htdocs/fourn/class/fournisseur.product.class.php 850 Property ProductFournisseur::$id (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 957 Property FactureFournisseur::$vat_reverse_charge (bool) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 1147 Property CommonObject::$entity (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 1150 Property FactureFournisseur::$type (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 1153 Property CommonInvoice::$subtype (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 1156 Property CommonInvoice::$socid (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 1162 Property FactureFournisseur::$paye (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 1185 Property FactureFournisseur::$total_ttc (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 1200 Property FactureFournisseur::$fk_facture_source (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 1204 Property CommonObject::$fk_project (int) does not accept null.
htdocs/fourn/class/fournisseur.facture.class.php 1210 Property CommonInvoice::$cond_reglement_id (int) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 1863 Property CommonObject::$origin (string) does not accept $this(FactureFournisseur).
htdocs/fourn/class/fournisseur.facture.class.php 2004 Property CommonObject::$origin (string) does not accept $this(FactureFournisseur).
htdocs/fourn/class/fournisseur.facture.class.php 2435 Property SupplierInvoiceLine::$remise_percent (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 2443 Property SupplierInvoiceLine::$localtax1_tx (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 2444 Property SupplierInvoiceLine::$localtax2_tx (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 2985 Method FactureFournisseur::getNextNumRef() should return string but returns int.
htdocs/fourn/class/fournisseur.facture.class.php 3388 Property FactureFournisseur::$vat_reverse_charge (bool) does not accept int.
htdocs/fourn/class/fournisseur.facture.class.php 3932 Property SupplierInvoiceLine::$localtax1_type (float) does not accept string.
htdocs/fourn/class/fournisseur.facture.class.php 3935 Property SupplierInvoiceLine::$localtax2_type (float) does not accept string.
htdocs/don/class/paymentdonation.class.php 204 Property CommonObject::$ref (string) does not accept int.
htdocs/don/class/paymentdonation.class.php 547 Property PaymentDonation::$fk_donation (int) does not accept string.
htdocs/don/class/paymentdonation.class.php 556 Property PaymentDonation::$fk_bank (int) does not accept string.
htdocs/don/class/paymentdonation.class.php 557 Property PaymentDonation::$fk_user_creat (int) does not accept string.
htdocs/don/class/paymentdonation.class.php 558 Property PaymentDonation::$fk_user_modif (int) does not accept string.
htdocs/core/filemanagerdol/connectors/php/connector.lib.php 968 Function DetectHtml() should return bool but returns int.
htdocs/core/filemanagerdol/connectors/php/connector.lib.php 1027 Function IsImageValid() should return bool but returns int.
htdocs/core/class/commoninvoice.class.php 952 Method CommonInvoice::calculate_date_lim_reglement() should return int but returns string.
htdocs/core/class/commoninvoice.class.php 1547 Property CommonInvoice::$postactionmessages (string) does not accept array.
htdocs/core/class/commonobject.class.php 1032 Method CommonObject::getLastMainDocLink() should return string but returns int.
htdocs/core/class/commonobject.class.php 1550 Method CommonObject::liste_type_contact() should return array but returns null.
htdocs/core/class/commonobject.class.php 1638 Method CommonObject::listeTypeContacts() should return array but returns null.
htdocs/core/class/commonobject.class.php 1708 Method CommonObject::getIdContact() should return array but returns null.
htdocs/core/class/commonobject.class.php 2011 Method CommonObject::fetchObjectFrom() should return int but returns false.
htdocs/core/class/commonobject.class.php 2891 Property CommonObject::$retained_warranty_fk_cond_reglement (string) does not accept int.
htdocs/core/class/commonobject.class.php 4868 Method CommonObject::getTotalDiscount() should return float|string but returns null.
htdocs/core/class/commonobject.class.php 9557 Property CommonObject::$ref (string) does not accept int.
htdocs/core/class/commonobject.class.php 10407 Method CommonObject::fetchComments() should return bool but returns int.
htdocs/core/class/commonobject.class.php 10411 Method CommonObject::fetchComments() should return bool but returns int<0, max>.