2
0
forked from Wavyzz/dolibarr
Commit Graph

2178 Commits

Author SHA1 Message Date
Frédéric FRANCE
bc2f527e41 add phpdoc (#28639)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc
2024-03-05 17:11:46 +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
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
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
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
Laurent Destailleur
049eaa1820 Compact code 2024-02-27 15:33:48 +01:00
MDW
36f890f973 Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448)
* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: GETPOST(...,'int') to GETPOSTINT(...)

# Fix: GETPOST(...,'int') to GETPOSTINT(...)

Converted using Phan plugin

* Fix: Update spelling exceptions

* Qual: Ignore Phan Notice
2024-02-27 14:05:53 +01:00
Laurent Destailleur
0a345e37a0 Fix delete not used table 2024-02-27 13:01:42 +01:00
MDW
1c3a035ae5 Qual: New Phan plugin for testing that argument matches regex (#28424)
* Qual: New Phan plugin for testing that argument matches regex

# Qual: New Phan plugin for testing that argument matches regex

This Plugin - currently applied to GETPOST - allows verifying that a selected
argument of a function matches a regular expression.

* Qual: Add isModEnabled verification to phan

# Qual: Add isModEnabled verification in phan

Using ParamMatchRegexPlugin, add isModEnabled parameter verification.

* Qual: Verify sanitizeVal check value

# Qual: Verify sanitizeVal check value

Use ParamMatchPlugin to check sanitizeVal check value

* Qual: Extend ParamMatchRegexPlugin with class_method

# Qual: Extend ParamMatchRegexPlugin with class_method

Allow matching class methods for argument verification.

* Update config.php

* Qual: New Phan plugin for testing that argument matches regex

# Qual: New Phan plugin for testing that argument matches regex

This Plugin - currently applied to GETPOST - allows verifying that a selected
argument of a function matches a regular expression.

* Qual: Add isModEnabled verification to phan

# Qual: Add isModEnabled verification in phan

Using ParamMatchRegexPlugin, add isModEnabled parameter verification.

* Qual: Verify sanitizeVal check value

# Qual: Verify sanitizeVal check value

Use ParamMatchPlugin to check sanitizeVal check value

* Qual: Extend ParamMatchRegexPlugin with class_method

# Qual: Extend ParamMatchRegexPlugin with class_method

Allow matching class methods for argument verification.

* Report scalar values (see null, etc)

* Qual: Ignore false Phan Notification

* Qual: Ignore false Phan Notification

* Qual: Fix Phan needs specific message keys for coloring.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-26 23:10:16 +01:00
Laurent Destailleur
fa2cfb97b1 Fix bad parameter for GETPOST 2024-02-26 15:02:39 +01:00
Laurent Destailleur
637ffa837f Clean code 2024-02-22 13:28:18 +01:00
Laurent Destailleur
5167fe2a62 Fix complete for #28349 2024-02-22 11:32:21 +01:00
Laurent Destailleur
9d48dcbd3d Fix phpstan 2024-02-22 01:32:55 +01:00
MDW
7dce4c354d Fix: PHPUnit Object Test template (#28299)
# Fix PHPUnit Object Test template

Fix some typing issues discovered when reusing the template.
2024-02-20 01:29:47 +01:00
Laurent Destailleur
dff5d3ac93 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-19 18:24:57 +01:00
Laurent Destailleur
3e8ee34f9c FIX Bad column for total in bom list 2024-02-19 16:58:59 +01:00
William Mead
640774d554 Qual clean dolibarrtriggers (#27968)
* Moved property init to constructor

* Added VERSIONS constant

* Updated code comments

* Refactor to use switch statement

* Added contributor details

* Refactored to use VERSIONS constant

* Added method return & parameter types

* Added getter methods

* Clean code

* Remove runTrigger return type

* Refactored & cleaned code. Added contributor details.

* Refactored modulebuilder trigger interface

* Cleaned code

* Fixed runTrigger types

* Added changelog warning

* Fixed return type

* Fixed return type

* Fixed PHP 7.0 compatibility

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-18 23:54:01 +01:00
Laurent Destailleur
fb283fdfe9 Clean code after yogosha reports 2024-02-17 18:39:26 +01:00
Laurent Destailleur
1bd04a04f5 Update doc 2024-02-17 00:15:43 +01:00
Laurent Destailleur
75cdfcbf52 Fix if reffield does not exists 2024-02-15 18:08:38 +01:00
Frédéric FRANCE
5f1c679142 fix warning (#28177)
* fix warning

* clean properties

* clean properties
2024-02-15 13:59:19 +01:00
Laurent Destailleur
c8777a94b0 Fix table for export profile in modulebuilder 2024-02-15 13:13:24 +01:00
Laurent Destailleur
7bb21e7ff6 Fix picto 2024-02-15 13:10:28 +01:00
Laurent Destailleur
e9a0905fba Use same return 2024-02-13 11:14:11 +01:00
Laurent Destailleur
cdff5d7c91 FIX external module can cumulate return of arrays 2024-02-12 20:08:05 +01:00
Laurent Destailleur
0920d6e08f Enhance modulebuilder 2024-02-12 07:10:49 +01:00
Laurent Destailleur
37bd68b27a Debug 2024-02-10 10:38:29 +01:00
Laurent Destailleur
d4296c2ffd Work on website templates from external modules 2024-02-09 17:54:57 +01:00
MDW
7b54824d49 Fix #28071 - New branch to fix bad merge (#28083)
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Qual: Introduce getDataToShowPhoto to prepare generic code

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix missing trans

* Fix langs

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Remove useless files in web templates

* Clean code

* Fix duplicate translation key

* Fix duplicate translation key

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix duplicate key

* Fix $object

* Debug v19

* WIP SMSing

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* WIP EMAILINGS_SUPPORT_ALSO_SMS

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* WIP SMSing

* Debug the "validate" feature

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Clean code

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Enhance rector to fix empty($user->rights->modulex->perm1)

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Fix template to use v19 dev rules

* Fix use v19 dev rules

* Fix phpunit

* Debug v19

* Clean code

* Use rector to convert user->rights into user->hasRight

* Clean code

* Use rector to convert user->rights into user->hasRight

* Use rector to convert user->rights into user->hasRight

* Clean code

* Fix phpcs

* add editorconfig for sql files (#27999)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* add model_pdf field in llx_ticket-ticket.sql (#27996)

* add model_pdf field in llx_ticket-ticket.sql

* Update 19.0.0-20.0.0.sql

* Update 19.0.0-20.0.0.sql

* Improve wording in README (#27994)

* fix phpstan (#27989)

* fix phpstan

* Update UserRightsToFunction.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Qual: Fix spelling/working in datapolicy translations (#28006)

# Qual: Fix spelling/wording in datapolicy translations

Fixed some spelling and wording in datapolicy translations.

* qual: phpstan for htdocs/ticket/class/ticketstats.class.php (#27986)

htdocs/ticket/class/ticketstats.class.php	98	Parameter #1 $year (string) of method TicketStats::getNbByMonth() should be compatible with parameter $year (int) of method Stats::getNbByMonth()

* Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix user with readonly perm on email template must be able to read.

* Fix doc

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Better message

* Add missing fields in merge of thirdparty

* Debug v19 selection of ticket printer per terminal

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Use constant

* NEW: Adding a recipient on emails sent, change status to sent partialy.

* fix travis (#28052)

* fix travis

* Update partnership.class.php

* fix php doc (#28047)

* fix undefined array key (#28048)

* Add region and departament for Cuba (#28046)

* Update llx_10_c_regions.sql

Add Cuba Regions (id_country=77)

* Update llx_20_c_departements.sql

Add Provinces Cuba (id country=77)

* Find the typo (#28050)

* Find the typo

* clean code

* add last_main_doc field to product (#28045)

* add las_main_doc field to product

* add field fetch

* NEW Add Categorie filter for ActionComm (#28041)

* New Add Categorie filter for ActionComm

New Add Categorie filter for ActionComm

* Fix space errors

Fix space errors

* Fix space errors 2

Fix space errors 2

* Update cunits.class.php (#28056)

FIX: error SQL when creating a Cunit

* Update codespell-lines-ignore.txt to avoid PR merge conflict

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: thibdrev <thibault.drevet@gmail.com>
Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
Co-authored-by: Ikarus <44511582+LeKarSol@users.noreply.github.com>
Co-authored-by: Anthony Damhet <73399671+EchoLoGeek@users.noreply.github.com>
Co-authored-by: Quentin-Seekness <72733832+Quentin-Seekness@users.noreply.github.com>
2024-02-09 15:58:49 +01:00
Laurent Destailleur
eb4f53665d Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	.github/workflows/pre-commit.yml
	ChangeLog
	dev/tools/codespell/codespell-lines-ignore.txt
	htdocs/comm/mailing/card.php
	htdocs/contact/card.php
	htdocs/langs/en_US/admin.lang
	htdocs/modulebuilder/template/core/modules/mailings/mailinglist_mymodule_myobject.modules.php
2024-02-07 18:30:10 +01:00
Laurent Destailleur
6dca2e6bf0 Debug v19 2024-02-04 16:29:40 +01:00
Laurent Destailleur
7c88705f14 Fix template to use v19 dev rules 2024-02-04 16:05:02 +01:00
Laurent Destailleur
d8a3508cbe Debug v19 2024-02-03 17:26:10 +01:00
Laurent Destailleur
4aeda8d28d Fix escapeforlike/escape 2024-02-03 15:29:40 +01:00
Laurent Destailleur
62e25855e5 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-28 00:40:53 +01:00
Laurent Destailleur
c084c76405 Enhance email selector 2024-01-27 23:29:21 +01:00
Laurent Destailleur
25a91c63cf Debug webportal module 2024-01-27 17:23:03 +01:00
Laurent Destailleur
279f9e715a WIP API 2024-01-27 02:22:25 +01:00
Laurent Destailleur
bf80809a96 Debug v19 2024-01-27 01:34:53 +01:00
Laurent Destailleur
3a6468dd33 Fix init hook context "cli" for all cli scripts 2024-01-26 01:52:06 +01:00
Laurent Destailleur
7b9f501612 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-25 13:50:33 +01:00
Laurent Destailleur
0791d32070 css 2024-01-25 13:50:01 +01:00
Laurent Destailleur
86c787821a Fix colspan 2024-01-25 12:57:19 +01:00
MDW
976f450605 Qual: Make some translation strings more generic
# Qual: Make some translation strings more generic

Provide variable values as parameters to translation string so that
they can be generally translated
2024-01-24 14:49:48 +01:00
Laurent Destailleur
82a3f29cf3 Fix trans 2024-01-23 18:06:53 +01:00
Laurent Destailleur
a7378be744 Fix use css of setup text item when fieldAttr are also provided 2024-01-23 16:28:36 +01:00
Laurent Destailleur
1a17130fbc Enhance the default setup page of generated modules 2024-01-23 15:25:45 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00