-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.composer-require-checker.config.json
118 lines (107 loc) · 2.81 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"php-core-extensions": [
"core", "standard",
"ctype", "date", "fileinfo", "filter", "iconv", "json", "pcre", "reflection", "session", "simplexml", "spl", "xml",
"curl", "gd", "intl", "mbstring", "mysqli", "zlib", "pdo", "pgsql", "gettext",
"exif", "pcntl"
],
"symbol-whitelist": [
"// PHP symbols",
"null",
"false", "true",
"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_ADAPTATIVE_CARDS",
"GALETTE_BASE_PATH",
"GALETTE_CACHE_DIR",
"GALETTE_CARD_COLS",
"GALETTE_CARD_HEIGHT",
"GALETTE_CARD_ROWS",
"GALETTE_CARD_WIDTH",
"GALETTE_COMPAT_VERSION",
"GALETTE_SYSCONFIG_PATH",
"GALETTE_CONFIG_PATH",
"GALETTE_DATA_PATH",
"GALETTE_DB_VERSION",
"GALETTE_DOCUMENTS_PATH",
"GALETTE_DOWNLOADS_URI",
"GALETTE_EXPORTS_PATH",
"GALETTE_FILES_PATH",
"GALETTE_HOSTED",
"GALETTE_IMPORTS_PATH",
"GALETTE_LOGS_PATH",
"GALETTE_MODE",
"GALETTE_DEBUG",
"GALETTE_NIGHTLY",
"GALETTE_PHOTOS_PATH",
"GALETTE_PLUGINS_PATH",
"GALETTE_ROOT",
"GALETTE_TELEMETRY_URI",
"GALETTE_TEMPIMAGES_PATH",
"GALETTE_THEME",
"GALETTE_THEMES_PATH",
"GALETTE_VERSION",
"GALETTE_X_FORWARDED_FOR_INDEX",
"_CURRENT_THEME_PATH",
"GALETTE_URI",
"GALETTE_MYSQL_MIN",
"GALETTE_MARIADB_MIN",
"GALETTE_PGSQL_MIN",
"GALETTE_DISPLAY_VERSION",
"GALETTE_TESTS",
"GALETTE_PHP_MIN",
"// Galette db constants (not detected as they are dynamically declared)",
"HOST_DB",
"NAME_DB",
"PORT_DB",
"PREFIX_DB",
"PWD_DB",
"TYPE_DB",
"USER_DB",
"//XHProf constants",
"//know but not detected Galette function,",
"remove_remarks",
"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",
"// DI functions",
"DI\\autowire",
"DI\\Container",
"DI\\ContainerBuilder",
"DI\\Bridge\\Slim\\App",
"DI\\Attribute\\Inject",
"// Not detected, do not know why.",
"Psr\\Http\\Server\\RequestHandlerInterface",
"Install"
],
"scan-files": [
"*.php",
"lib/**/.php",
"scripts/*.php",
"scripts/**/*.php",
"webroot/*.php"
]
}