]> git.agnieray.net Git - galette.git/blobdiff - .composer-require-checker.config.json
Fix histroy filter
[galette.git] / .composer-require-checker.config.json
index 12158cf59b57e17bada9654803a643e7cfdb1dd8..df1bc4a20093abf70da3a99fa4aed48d61725b14 100644 (file)
@@ -4,7 +4,7 @@
 
     "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_CARD_ROWS",
     "GALETTE_CARD_WIDTH",
     "GALETTE_COMPAT_VERSION",
+    "GALETTE_SYSCONFIG_PATH",
     "GALETTE_CONFIG_PATH",
     "GALETTE_DATA_PATH",
     "GALETTE_DB_VERSION",
+    "GALETTE_DOWNLOADS_URI",
     "GALETTE_EXPORTS_PATH",
     "GALETTE_FILES_PATH",
     "GALETTE_IMPORTS_PATH",
     "GALETTE_LOGS_PATH",
     "GALETTE_MODE",
+    "GALETTE_DEBUG",
     "GALETTE_NIGHTLY",
     "GALETTE_PHOTOS_PATH",
+    "GALETTE_DOCUMENTS_PATH",
     "GALETTE_PLUGINS_PATH",
     "GALETTE_ROOT",
     "GALETTE_TELEMETRY_URI",
     "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",
 
     "//know but not detected Galette function,",
     "remove_remarks",
-    "custom_html_entity_decode",
-    "get_form_value",
-    "get_numeric_form_value",
     "isValidWebUrl",
     "remove_remarks",
     "split_sql_file",
     "_T",
     "__",
-
+    "_Tn",
+    "_Tx",
+    "_Tnx",
 
     "// XHProf PECL extension",
     "XHProfRuns_Default",
     "xhprof_disable",
     "xhprof_enable",
+    "GALETTE_XHPROF_PATH",
     "XHPROF_PATH",
     "XHPROF_URL",
     "XHPROF_FLAGS_CPU",
     "XHPROF_FLAGS_MEMORY",
     "XHPROF_FLAGS_NO_BUILTINS",
-    "XHPROF_HOST"
+    "XHPROF_HOST",
+
+    "// DI functions",
+    "DI\\autowire",
+    "DI\\Container",
+    "DI\\ContainerBuilder",
+    "DI\\Attribute\\Inject",
+
+    "// Not detected, do not know why.",
+    "Psr\\Http\\Server\\RequestHandlerInterface"
   ],
   "scan-files": [
     "galette/*.php",