]> git.agnieray.net Git - galette.git/blob - .composer-require-checker.config.json
Fix tests
[galette.git] / .composer-require-checker.config.json
1 {
2 "php-core-extensions": [
3 "core", "standard",
4
5 "ctype", "date", "fileinfo", "filter", "iconv", "json", "pcre", "reflection", "session", "simplexml", "spl", "xml",
6
7 "curl", "gd", "intl", "mbstring", "mysqli", "zlib", "pdo", "pgsql", "gettext", "tidy",
8
9 "exif", "pcntl"
10 ],
11 "symbol-whitelist": [
12 "// PHP symbols",
13 "null",
14 "false", "true",
15 "static", "self", "parent",
16 "array", "bool", "callable", "float", "int", "iterable", "object", "string", "void",
17
18 "// Galette constants (not detected as they are dynamically declared)",
19 "GALETTE_ATTACHMENTS_PATH",
20 "GALETTE_BASE_PATH",
21 "GALETTE_CACHE_DIR",
22 "GALETTE_CARD_COLS",
23 "GALETTE_CARD_HEIGHT",
24 "GALETTE_CARD_ROWS",
25 "GALETTE_CARD_WIDTH",
26 "GALETTE_COMPAT_VERSION",
27 "GALETTE_CONFIG_PATH",
28 "GALETTE_DATA_PATH",
29 "GALETTE_DB_VERSION",
30 "GALETTE_EXPORTS_PATH",
31 "GALETTE_FILES_PATH",
32 "GALETTE_IMPORTS_PATH",
33 "GALETTE_LOGS_PATH",
34 "GALETTE_MODE",
35 "GALETTE_NIGHTLY",
36 "GALETTE_PHOTOS_PATH",
37 "GALETTE_PLUGINS_PATH",
38 "GALETTE_ROOT",
39 "GALETTE_TELEMETRY_URI",
40 "GALETTE_TEMPIMAGES_PATH",
41 "GALETTE_THEME",
42 "GALETTE_THEMES_PATH",
43 "GALETTE_THEME_DIR",
44 "GALETTE_TPL_SUBDIR",
45 "GALETTE_VERSION",
46 "GALETTE_X_FORWARDED_FOR_INDEX",
47 "_CURRENT_THEME_PATH",
48
49 "// Galette db constants (not detected as they are dynamically declared)",
50 "HOST_DB",
51 "NAME_DB",
52 "PORT_DB",
53 "PREFIX_DB",
54 "PWD_DB",
55 "TYPE_DB",
56 "USER_DB",
57
58 "//XHProf constants",
59
60 "//know but not detected Galette function,",
61 "remove_remarks",
62 "custom_html_entity_decode",
63 "get_form_value",
64 "get_numeric_form_value",
65 "isValidWebUrl",
66 "remove_remarks",
67 "split_sql_file",
68 "_T",
69 "__",
70
71
72 "// XHProf PECL extension",
73 "XHProfRuns_Default",
74 "xhprof_disable",
75 "xhprof_enable",
76 "GALETTE_XHPROF_PATH",
77 "XHPROF_PATH",
78 "XHPROF_URL",
79 "XHPROF_FLAGS_CPU",
80 "XHPROF_FLAGS_MEMORY",
81 "XHPROF_FLAGS_NO_BUILTINS",
82 "XHPROF_HOST",
83
84 "// DI functions",
85 "DI\\autowire",
86 "DI\\Container",
87 "DI\\ContainerBuilder",
88
89 "//PHP8 functions",
90 "str_contains"
91 ],
92 "scan-files": [
93 "galette/*.php",
94 "galette/lib/**/.php",
95 "galette/includes/**/*.php",
96 "galette/includes/*.php",
97 "galette/install/*.php",
98 "galette/install/**/*.php",
99 "galette/webroot/*.php",
100 "tests/**/*.php",
101 "tests/*.php"
102 ]
103 }