"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_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\\autowire",
"DI\\Container",
"DI\\ContainerBuilder",
-
- "//PHP8 functions",
- "str_contains",
+ "DI\\Attribute\\Inject",
"// Not detected, do not know why.",
- "Psr\\Http\\Server\\RequestHandlerInterface",
- "Rka\\Session",
- "Slim\\Handlers\\Error",
- "Slim\\Handlers\\PhpError",
- "Slim\\Http\\Body",
- "Slim\\Http\\Stream"
+ "Psr\\Http\\Server\\RequestHandlerInterface"
],
"scan-files": [
"galette/*.php",