* 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.
* New: Phan Plugin (with fixer) for GETPOST->GETPOSTINT
# New: Phan Plugin (with fixer) for GETPOST->GETPOSTINT
This detects GETPOST calls with second parameter 'int' and can
convert to GETPOSTINT
* New: Fixer for deprecated module names
* 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>