"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_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",