2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2023-12-17 23:21:59 +01:00
parent a50bb45d24
commit c6e33a89a4

View File

@@ -103,6 +103,7 @@ class GlobalToFunction extends AbstractRector
if ($node instanceof FuncCall) {
$tmpfunctionname = $this->getName($node);
// If function is ok(we must avoid a lot of cases like isset, empty)
if (in_array($tmpfunctionname, array('dol_escape_htmltag', 'make_substitutions', 'min', 'max', 'explode'))) {
$args = $node->getArgs();
$nbofparam = count($args);