N°9500 - move STATIC_CALL_AUTOSELECT_WHITELIST from RuntimeEnvironment to ModuleFileReader

This commit is contained in:
odain
2026-04-13 22:56:46 +02:00
parent 1222507205
commit e7e7664cb8
6 changed files with 11 additions and 13 deletions

View File

@@ -42,6 +42,10 @@ class ModuleFileReader
"utils::GetItopVersionWikiSyntax",
];
public const STATIC_CALL_AUTOSELECT_WHITELIST = [
"SetupInfo::ModuleIsSelected",
];
protected function __construct()
{
$this->oPhpExpressionEvaluator = new PhpExpressionEvaluator(static::FUNC_CALL_WHITELIST, static::STATIC_CALLWHITELIST);