]> git.agnieray.net Git - galette.git/blobdiff - .composer-require-checker.config.json
1.0..4 changelog
[galette.git] / .composer-require-checker.config.json
index 5963d4293e618b25fbde1611b55bd76a3a8d0d05..e98c422d0fb72a0653151cf0db737c7302105e1d 100644 (file)
     "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\\autowire",
     "DI\\Container",
     "DI\\ContainerBuilder",
+    "DI\\Attribute\\Inject",
 
-    "//PHP8 functions",
-    "str_contains"
+    "// Not detected, do not know why.",
+    "Psr\\Http\\Server\\RequestHandlerInterface"
   ],
   "scan-files": [
     "galette/*.php",