dolibarr/dev/tools/phan/plugins
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
..
GetPostFixerPlugin Qual: Enable detection of deprecated modulename & GETPOST(...,'int') (#28457) 2024-02-28 23:25:16 +01:00
DeprecatedModuleNameFixer.php New: Phan Plugin (with fixer) for GETPOST->GETPOSTINT (#28447) 2024-02-27 14:08:07 +01:00
GetPostFixerPlugin.php New: Phan Plugin (with fixer) for GETPOST->GETPOSTINT (#28447) 2024-02-27 14:08:07 +01:00
NoVarDumpPlugin.php
ParamMatchRegexPlugin.php Qual: New Phan plugin for testing that argument matches regex (#28424) 2024-02-26 23:10:16 +01:00