Files
dolibarr/htdocs/core/lib
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
..
2024-02-26 20:11:55 +01:00
2024-02-26 22:34:17 +01:00
2024-01-05 04:33:58 +01:00
2024-02-17 04:07:34 +01:00
2023-11-27 11:39:32 +01:00
2023-11-27 11:39:32 +01:00
2024-02-15 15:22:33 +01:00
2024-02-09 11:28:33 +01:00
2023-11-27 11:39:32 +01:00
2024-01-20 09:22:38 +01:00
2024-01-19 11:28:02 +01:00
2024-02-09 11:28:33 +01:00
2023-12-04 12:05:28 +01:00
2024-02-16 23:56:07 +01:00
2024-01-20 09:22:38 +01:00
2024-01-13 15:32:37 +01:00
2024-01-13 19:48:20 +01:00