Commit Graph

1026 Commits

Author SHA1 Message Date
thibdrev
6f18b66bfa doc 2024-01-28 17:38:46 +01:00
thibdrev
f03f5b6be4 qual: phpstan for htdocs/fourn/class/fournisseur.commande.class.php
htdocs/fourn/class/fournisseur.commande.class.php	1146	Method CommandeFournisseur::getNextNumRef() should return string but returns int.
htdocs/fourn/class/fournisseur.commande.class.php	1150	Method CommandeFournisseur::getNextNumRef() should return string but returns int.
htdocs/fourn/class/fournisseur.commande.class.php	1867	Property CommandeFournisseur::$date_creation (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	1869	Property CommandeFournisseur::$ref_supplier (string) does not accept null.
htdocs/fourn/class/fournisseur.commande.class.php	1870	Property CommandeFournisseur::$user_approve_id (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	1871	Property CommandeFournisseur::$user_approve_id2 (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	1872	Property CommandeFournisseur::$date_approve (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	1873	Property CommandeFournisseur::$date_approve2 (int) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	3020	Property CommonOrderLine::$remise_percent (float) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	3048	Property CommonOrderLine::$remise_percent (float) does not accept string.
2024-01-28 17:35:17 +01:00
thibdrev
4143a55b24 phpcs 2024-01-23 20:18:02 +01:00
thibdrev
251fcef63e qual: phpstan and phpdoc
htdocs/fourn/class/fournisseur.commande.class.php	2919	Property CommonOrderLine::$localtax1_tx (float) does not accept string.
htdocs/fourn/class/fournisseur.commande.class.php	2920	Property CommonOrderLine::$localtax2_tx (float) does not accept string.
2024-01-23 20:13:10 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Frédéric France
4b3f351f95 phpdoc 2024-01-18 23:28:42 +01:00
Frédéric France
64e049ac2e rename method 2024-01-18 19:47:35 +01:00
Frédéric FRANCE
c4d19d6202 fix phpstan 2024-01-15 20:27:44 +01:00
MDW
bd002480ce Qual: Spelling htdocs/[d-k]* (#27427)
Highlights:

- htdocs/install/doctemplates/websites/website_template-restaurant/containers/page249.tpl.php

  Potential functional change (fix) because toekn was changed to token:
   `<input type=hidden name=toekn`

- htdocs/install/upgrade2.php
  $filles changed to $children

- htdocs/intracommreport/class/intracommreport.class.php
  Local $enveloppe changed to $envelope.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-13 19:48:41 +01:00
Laurent Destailleur
cb2ebb1d56 Fix phpcs 2024-01-12 20:51:10 +01:00
Laurent Destailleur
f201692001 Fix phpstan 2024-01-12 19:50:22 +01:00
Laurent Destailleur
2a4578ef68 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 13:48:15 +01:00
Laurent Destailleur
34f5c1e293 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-11 13:47:14 +01:00
Laurent Destailleur
64fb9d0db7 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-11 13:45:16 +01:00
MDW
efce6c5aab Fix: fournisseur.commande - add missing argument addline call
The call to addline had several missing arguments.  Added.
2024-01-08 23:45:46 +01:00
Laurent Destailleur
ccaae7ab24 Clean code 2024-01-05 03:41:22 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
a7125280bc Fix with php-cs-fixer 2023-12-04 12:12:12 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
240869f2f2 Fix warnings 2023-11-30 21:45:58 +01:00
Laurent Destailleur
7785ae93a1 Fix php8.2 warnings 2023-11-27 11:41:05 +01:00
Laurent Destailleur
574502c6fd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-24 10:23:38 +01:00
Laurent Destailleur
e6eb34a8db Fiw warnings: The private array ->status_short, ->statuts and
->status_long are now array ->labelStatusShort and ->labelStatus
everywhere.
2023-11-24 10:10:24 +01:00
Frédéric FRANCE
2cacb02cca remove deprecated from initAsSpecimen (#26834) 2023-11-24 09:27:06 +01:00
Laurent Destailleur
cb3a86a737 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-11-23 18:56:10 +01:00
Laurent Destailleur
a257dcfa48 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-23 18:48:52 +01:00
Laurent Destailleur
3294b721ac Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-11-23 18:46:57 +01:00
boudet jean pascal
b3345e1796 FIX : special_code update line keep old value. (#26819)
* FIX : special code update line keep old value.

* Update fournisseur.commande.class.php

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-23 15:10:56 +01:00
Laurent Destailleur
f70cac6cb8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-22 00:25:35 +01:00
moreauftheobald
d756151956 Fix PHP STAN ERROR ON fournisseur commande class (#26717)
* Fix PHP STAN ERROR ON fournisseur commande class

* Fix phpstan fournisseur commande class

* Fix phpstan fournisseur commande class

* Remove Rang property

* Remove Rang property

* Update fournisseur.commande.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-22 00:17:15 +01:00
Laurent Destailleur
b57b002494 Fix warning 2023-11-22 00:16:00 +01:00
IC-Nicolas
ae608c3bb7 Unused method in Dolibarr (#26737) 2023-11-19 00:47:23 +01:00
Laurent Destailleur
5c1a7e7541 Debug v19 2023-11-18 23:50:35 +01:00
HENRY Florian
adeded25f4 Dev phpstan (#26723)
* fix: remove phpstan warning

* fix phpstan

* fix phpstan

* fix phpstan
2023-11-18 16:49:39 +01:00
Eric
ca2a267537 undefined fk_parent_line (#26695) 2023-11-18 01:42:19 +01:00
Laurent Destailleur
7659bba97a Fix bad delete of lines into llx_ecm_files 2023-11-13 12:24:47 +01:00
Laurent Destailleur
127de7e7d8 FIX On object validation, ecm index are not updated for uploaded files 2023-11-01 16:17:54 +01:00
Laurent Destailleur
74e1ec4099 FIX On object validation, ecm index are not updated for uploaded files 2023-10-31 19:28:11 +01:00
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
Laurent Destailleur
2cfa9f8290 Debug v19 2023-10-17 15:43:56 +02:00
Laurent Destailleur
b37a438067 The property ->user_validation to store ID of user validating has been
renamed into ->user_validation_id.
2023-10-17 11:10:25 +02:00
Laurent Destailleur
f18529f944 Clean code 2023-10-17 10:52:19 +02:00
Laurent Destailleur
fb8b4acdbf The duplicated and deprecated property ->date_livraison that was renamed
into ->delivery_date has been completely removed.
2023-10-17 10:36:11 +02:00
Laurent Destailleur
d3dc6615db Remove deprecated use of ->modelpdf (good is ->model_pdf) 2023-10-02 21:49:08 +02:00
Laurent Destailleur
b8bd760e28 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-10-01 16:06:58 +02:00
Laurent Destailleur
d5443010f2 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-10-01 16:04:16 +02:00
Laurent Destailleur
7846947f0c Fix ref_supplier must be null if not defined 2023-09-26 23:24:14 +02:00
Laurent Destailleur
257a961a93 Fix error management 2023-09-22 02:32:23 +02:00
Laurent Destailleur
e9f80875b7 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-09-22 01:19:49 +02:00