Commit Graph

13245 Commits

Author SHA1 Message Date
Frédéric FRANCE
a2c92f183c Phpstan fix (#28637)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-03-05 17:12:36 +01:00
PsyCrow
13f3dcf39c FIX #28641 (#28642)
* FIX #28641

FIX #28641 Annoying autocomplete on datepicker

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-05 15:56:38 +01:00
Laurent Destailleur
bf6c662d25 Fix phpunit 2024-03-05 04:06:21 +01:00
Laurent Destailleur
c544efec7f QUAL: Remove use of customurl filter. Must use the USF syntax. 2024-03-05 03:51:36 +01:00
Laurent Destailleur
ce010a54c7 Clean code and prepare a more powerfull phpunit check for sql forging. 2024-03-05 00:22:12 +01:00
Frédéric FRANCE
44ce77dd37 fix phpstan (#28606) 2024-03-04 18:27:49 +01:00
Frédéric FRANCE
7090af2b51 fix phpstan (#28609)
* fix phpstan

* Update emailsenderprofile.class.php
2024-03-04 18:27:20 +01:00
William Mead
29d87ec14a Fixed lastresult type (#28628) 2024-03-04 17:58:21 +01:00
Frédéric FRANCE
6f58a45220 fix phpstan (#28605)
* fix phpstan

* fix phpstan

* fix too few parameters

* fix typo

* ActionComm::$ref is not covariant with PHPDoc type string

* fix default values
2024-03-03 18:55:30 +01:00
Frédéric FRANCE
b518bb0c9a fix phpstan (#28604) 2024-03-03 16:51:16 +01:00
Laurent Destailleur
e12c235185 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-02 16:52:44 +01:00
Frédéric FRANCE
fba15178eb all initAsSpecimen return int (#28577)
* all initAsSpecimen return int

* all initAsSpecimen return int

* all initAsSpecimen return int
2024-03-02 16:38:35 +01:00
Laurent Destailleur
39458e7c31 Better error management 2024-03-02 14:30:51 +01:00
Laurent Destailleur
2044a133e9 Fix warning 2024-03-02 13:15:20 +01:00
lamrani abdelwadoud
7b92c9912b Fix return type by adding string in select_comptes method (#28496)
* Fix return type by addin string in select_comptes method

* update return doc for method

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-01 21:13:12 +01:00
lamrani abdelwadoud
dd7be6c932 Fix return type string instead of int (#28499)
* Fix return type string instead of int

* update doc method for return
2024-03-01 21:00:49 +01:00
Laurent Destailleur
6917b1046b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-01 20:55:41 +01:00
Laurent Destailleur
19a22f6b6d Fix #28509 2024-03-01 20:55:31 +01:00
lamrani abdelwadoud
351ea07229 Fix return type when output is 1 (#28501)
* Fix return type when output is 1

* update doc method
2024-03-01 20:49:23 +01:00
Laurent Destailleur
4279478acd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-01 19:40:36 +01:00
Laurent Destailleur
47861abb48 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-01 19:05:46 +01:00
Laurent Destailleur
7964f831e9 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-03-01 19:02:31 +01:00
Laurent Destailleur
aaae1aad67 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-03-01 19:02:16 +01:00
Laurent Destailleur
615a80835a Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-03-01 19:00:32 +01:00
Laurent Destailleur
1b1edaf0a6 php syntax 2024-03-01 18:40:48 +01:00
atm-adrien
de76330aae FIX : Adding the dependencies list feature for extrafields "select" (#28549)
* FIX : Adding thez dependencies list feature for select fields

* FIX : Adding some spaces

* FIX : View
2024-03-01 18:39:32 +01:00
Frédéric FRANCE
3c055f671e fix phpstan (#28545)
* fix phpstan

* fix phpstan
2024-03-01 12:51:48 +01:00
smselver
449d31a424 make some small grammatical upgrade to README (#28537)
* make some small grammatical upgrade to README

* fixed exemple in htdocs/common/core

---------

Co-authored-by: steve <steve.s@onedmaterial.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-01 12:46:18 +01:00
PsyCrow
4b7d25975f Update html.form.class.php (#28540)
* Update html.form.class.php

Fix PHP Warning:  Undefined array key "labeladddateof"

* Update html.form.class.php

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-01 12:45:08 +01:00
Frédéric FRANCE
016de3ef66 fix codespell (#28536)
* fix codespell

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-03-01 12:39:23 +01:00
Laurent Destailleur
df8a6bd336 Fix warning 2024-02-29 20:39:21 +01:00
Laurent Destailleur
b6a056799c Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-29 20:09:56 +01:00
Laurent Destailleur
15a578e6ac Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/accountancy/bookkeeping/balance.php
2024-02-29 20:09:44 +01:00
Laurent Destailleur
c3ad0bc9e7 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
Conflicts:
	htdocs/core/class/commonobject.class.php
2024-02-29 20:07:53 +01:00
Laurent Destailleur
034d6d8174 Fix bad property name 2024-02-29 19:54:41 +01:00
Laurent Destailleur
821f327da4 Fix name of webservice 2024-02-29 19:47:58 +01:00
thomas-Ngr
a0fc77cd76 Fix Form::load_cache_vatrates() countries dict (#28528) 2024-02-29 19:40:51 +01:00
Laurent Destailleur
284fb49f60 Try a better fix for #28526 2024-02-29 19:35:34 +01:00
Laurent Destailleur
9a41edfdc4 Add code for better transition of using user_creation_id and
user_modification_id
2024-02-29 18:22:48 +01:00
Laurent Destailleur
4c116e1577 Doc 2024-02-29 17:59:17 +01:00
Laurent Destailleur
ef224a7a45 Clean code 2024-02-29 16:48:52 +01:00
Laurent Destailleur
4d10fe3bba Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-29 15:48:50 +01:00
Laurent Destailleur
3944eb3625 NEW Support a date selector with type 'html' 2024-02-29 15:16:51 +01:00
Laurent Destailleur
a365800967 CSS 2024-02-29 02:57:13 +01:00
Frédéric FRANCE
32a4947590 fix phpstan (#28514)
* fix phpstan

* fix phpstan

* fix phpstan
2024-02-28 23:42:23 +01:00
MDW
7391ad42ed Qual: Enable detection of deprecated modulename & GETPOST(...,'int') (#28457)
* Qual: Enable detection of deprecated modulename & GETPOST(...,'int')

# Qual: Enable detection of deprecated modulename & GETPOST(...,'int')

Enable phan rules to verify deprecated modulename usage and GETPOST(...,'int')
usage in the code.

* Qual: Try type hint on  to help avoid notification

* Qual: Accept 3 parameters for GETPOST to GETPOSTINT conversion

* Qual: Convert GETPOST(...,'int',VALUE) to GETPOSTINT(...,VALUE)

# Qual: Convert GETPOST(...,'int',VALUE) to GETPOSTINT(...,VALUE)

Following the update to the fixer to also convert GETPOST... with 3 parameters.
The files are now converted.
2024-02-28 23:25:16 +01:00
Frédéric FRANCE
20c1992aec fix translate with memcached and multilangs (#28510)
* fix translate with memcached and multilangs

* fix
2024-02-28 22:56:00 +01:00
lamrani abdelwadoud
d4a548a48f Fix return method select_conditions_paiements (#28495) 2024-02-28 20:57:03 +01:00
Frédéric FRANCE
eda3b8e161 fix phpstan (#28497) 2024-02-28 20:36:53 +01:00
lamrani abdelwadoud
946abbfbd1 Fix variable and return in method (#28498) 2024-02-28 20:33:36 +01:00