forked from glpi-project/glpi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
79 lines (78 loc) · 2.29 KB
/
phpstan.neon.dist
File metadata and controls
79 lines (78 loc) · 2.29 KB
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
includes:
- .phpstan-baseline.php
- .phpstan-baseline.8.2.php
parameters:
level: 4
bootstrapFiles:
- inc/based_config.php
paths:
- ajax
- front
- inc
- install
- src
universalObjectCratesClasses:
- Sabre\VObject\Node
dynamicConstantNames:
- GLPI_AJAX_DASHBOARD
- GLPI_ALLOW_IFRAME_IN_RICH_TEXT
- GLPI_CACHE_DIR
- GLPI_CALDAV_IMPORT_STATE
- GLPI_CENTRAL_WARNINGS
- GLPI_CONFIG_DIR
- 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_FORCE_MAIL
- GLPI_GRAPH_DIR
- GLPI_IDOR_EXPIRES
- GLPI_INSTALL_MODE
- GLPI_INVENTORY_DIR
- GLPI_LOCAL_I18N_DIR
- GLPI_LOCK_DIR
- GLPI_LOG_DIR
- GLPI_LOG_LVL
- GLPI_MARKETPLACE_ALLOW_OVERRIDE
- GLPI_MARKETPLACE_DIR
- GLPI_MARKETPLACE_ENABLE
- GLPI_MARKETPLACE_MANUAL_DOWNLOADS
- 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_SERVERSIDE_URL_ALLOWLIST
- GLPI_SESSION_DIR
- GLPI_SQL_DEBUG
- GLPI_STRICT_DEPRECATED
- GLPI_TELEMETRY_URI
- GLPI_TEXT_MAXSIZE
- GLPI_TMP_DIR
- GLPI_UPLOAD_DIR
- GLPI_USE_CSRF_CHECK
- GLPI_USE_IDOR_CHECK
- GLPI_USER_AGENT_EXTRA_COMMENTS
- GLPI_VAR_DIR
- PLUGINS_DIRECTORIES
- TU_USER
ignoreErrors:
- '/Call to static method \w+\(\) on an unknown class phpCAS/'
- '/Class phpCAS not found/'
- '/Instantiated class (DB|DBSlave) not found/'
- '/Instantiated class XHProfRuns_Default not found/'
- '/\w+ has been replaced by \w+/'
-
message: '/LDAP\\Connection/'
reportUnmatched: false
-
message: '/\/config\/config_db.php" is not a file or it does not exist./'
reportUnmatched: false
rules:
- GlpiProject\Tools\PHPStan\Rules\GlobalVarTypeRule