forked from glpi-project/glpi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.composer-require-checker.config.json
83 lines (65 loc) · 3.01 KB
/
.composer-require-checker.config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"php-core-extensions": [
"core", "standard",
"dom", "date", "fileinfo", "filter", "json", "libxml", "pcre", "reflection", "session", "simplexml", "spl", "xml",
"curl", "gd", "intl", "mysqli", "zlib",
"exif", "ldap", "pcntl", "xmlrpc", "zip"
],
"symbol-whitelist": [
"// PHP symbols",
"null",
"false", "true",
"static", "self", "parent",
"array", "bool", "callable", "float", "int", "iterable", "object", "string", "void",
"// Missing constant in Alpine Linux",
"GLOB_BRACE",
"// PHP 8.1 symbols",
"Ldap\\Connection",
"// GLPI config classes",
"DB", "DBSlave",
"// GLPI base constants (they are not detected as they are dynamically declared)",
"GLPI_AJAX_DASHBOARD", "GLPI_ALLOW_IFRAME_IN_RICH_TEXT", "GLPI_CALDAV_IMPORT_STATE", "GLPI_CACHE_DIR",
"GLPI_MARKETPLACE_ALLOW_OVERRIDE", "GLPI_MARKETPLACE_MANUAL_DOWNLOADS",
"GLPI_CRON_DIR", "GLPI_CSRF_EXPIRES", "GLPI_CSRF_MAX_TOKENS", "GLPI_DEMO_MODE",
"GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE", "GLPI_DOC_DIR", "GLPI_DUMP_DIR",
"GLPI_GRAPH_DIR", "GLPI_IDOR_EXPIRES", "GLPI_INSTALL_MODE", "GLPI_INVENTORY_DIR", "GLPI_LOCAL_I18N_DIR",
"GLPI_LOCK_DIR", "GLPI_LOG_DIR", "GLPI_MARKETPLACE_DIR", "GLPI_MARKETPLACE_PLUGINS_API_URI",
"GLPI_MARKETPLACE_PRERELEASES", "GLPI_NETWORK_REGISTRATION_API_URL", "GLPI_NETWORK_MAIL",
"GLPI_NETWORK_SERVICES", "GLPI_PICTURE_DIR", "GLPI_PLUGIN_DOC_DIR", "GLPI_RSS_DIR", "GLPI_SESSION_DIR",
"GLPI_TELEMETRY_URI", "GLPI_TMP_DIR", "GLPI_UPLOAD_DIR", "GLPI_USE_CSRF_CHECK", "GLPI_USE_IDOR_CHECK",
"GLPI_USER_AGENT_EXTRA_COMMENTS", "GLPI_VAR_DIR", "GLPI_CENTRAL_WARNINGS",
"// GLPI optionnal constants",
"GLPI_FORCE_MAIL", "GLPI_LOG_LVL",
"// GLPI test suite specific functions",
"GLPI_SQL_DEBUG",
"GlpitestPHPerror", "GlpitestPHPnotice", "GlpitestPHPwarning", "GlpitestSQLError",
"// apache function",
"getallheaders",
"// OPCache extension (not installed on testing env)",
"opcache_get_status", "opcache_invalidate", "opcache_reset",
"// SELinux PECL extension",
"selinux_getenforce", "selinux_get_boolean_active", "selinux_is_enabled",
"// XHProf PECL extension",
"XHProfRuns_Default", "xhprof_disable", "xhprof_enable", "XHPROF_PATH", "XHPROF_URL",
"// phpCAS library",
"CAS_VERSION_2_0", "phpCAS",
"// paragonie/sodium_compat library",
"SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_KEYBYTES", "SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES", "sodium_crypto_aead_xchacha20poly1305_ietf_decrypt", "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt", "sodium_crypto_aead_chacha20poly1305_ietf_keygen",
"//xhprof",
"XHPROF_FLAGS_NO_BUILTINS", "XHPROF_FLAGS_CPU", "XHPROF_FLAGS_MEMORY",
"//brotli compression",
"brotli_uncompress",
"brotli_compress",
"// composer autoloader",
"Composer\\Autoload\\ClassLoader"
],
"scan-files": [
"ajax/**/*.php",
"bin/console",
"front/**/*.php",
"inc/**/*.php",
"install/**/*.php",
"src/**/*.php",
"/*.php"
]
}