"ctype", "date", "fileinfo", "filter", "iconv", "json", "pcre", "reflection", "session", "simplexml", "spl", "xml",
- "curl", "gd", "intl", "mbstring", "mysqli", "zlib", "pdo", "pgsql", "gettext", "tidy",
+ "curl", "gd", "intl", "mbstring", "mysqli", "zlib", "pdo", "pgsql", "gettext",
"exif", "pcntl"
],
"static", "self", "parent",
"array", "bool", "callable", "float", "int", "iterable", "object", "string", "void",
+ "// random native PHP functions",
+ "// these are moved in random native extension in PHP 8.2, but this extension does not exists in previous PHP versions",
+ "mt_rand",
+ "rand",
+ "random_int",
+
"// Galette constants (not detected as they are dynamically declared)",
"GALETTE_ATTACHMENTS_PATH",
"GALETTE_BASE_PATH",
"GALETTE_TEMPIMAGES_PATH",
"GALETTE_THEME",
"GALETTE_THEMES_PATH",
- "GALETTE_THEME_DIR",
- "GALETTE_TPL_SUBDIR",
"GALETTE_VERSION",
"GALETTE_X_FORWARDED_FOR_INDEX",
"_CURRENT_THEME_PATH",
+ "GALETTE_URI",
+ "GALETTE_MYSQL_MIN",
+ "GALETTE_MARIADB_MIN",
+ "GALETTE_PGSQL_MIN",
"// Galette db constants (not detected as they are dynamically declared)",
"HOST_DB",
"DI\\Container",
"DI\\ContainerBuilder",
- "//PHP8 functions",
- "str_contains"
+ "// Not detected, do not know why.",
+ "Psr\\Http\\Server\\RequestHandlerInterface"
],
"scan-files": [
"galette/*.php",