Repository navigation
Expand file tree
/
Copy pathphpstan.neon
More file actions
74 lines (65 loc) · 2.23 KB
/
Copy pathphpstan.neon
File metadata and controls
74 lines (65 loc) · 2.23 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
includes:
- phar://app/vendor/phpstan/phpstan/phpstan.phar/conf/bleedingEdge.neon
parameters:
level: 4
phpVersion: 80100
bootstrapFiles:
- app/vendor/autoload.php
- app/config/include.php
- app/config/settings.php
paths:
- app/sources
- app/api
- app/scripts
- app/includes
- app/pages
excludePaths:
- app/vendor/*
- app/includes/libraries/phpseclibV1/*
- public/plugins/*
- app/includes/libraries/*
- public/install/libs/*
- public/install/js/crypt/*
#- app/api/*
# Chargement des classes qui ne sont pas autoloadées
scanFiles:
- app/vendor/autoload.php
- public/install/libs/aesctr.php
- app/includes/libraries/bip39/loader.php
- app/vendor/tecnickcom/tcpdf/tcpdf_autoconfig.php
- app/includes/libraries/teampassclasses/lapr/src/LAPRSshService.php
ignoreErrors:
- '#Call to an undefined static method DB::count#'
- '#Call to an undefined static method DB::escape#'
# Methods called via call_user_func() dynamic dispatch in installer
- message: '#Method .+ is unused\.#'
path: public/install/install-steps/run.step5.php
- message: '#Method .+ is unused\.#'
path: public/install/install-steps/run.step6.php
# Task-status helpers consumed by the LAPR traits (loaded via require_once)
- message: '#Method TaskWorker::updateTask(Status|Result|Step)\(\) is unused\.#'
path: app/scripts/background_tasks___worker.php
reportUnmatchedIgnoredErrors: false
# Constants whose values are dynamic (PHPStan won't inline them)
dynamicConstantNames:
- WIP
- LOG_TO_SERVER
- DEBUG
- LOG_TASKS
- TASKS_TRIGGER_FILE
- TASKS_LOCK_FILE
- TP_USER_ID
- API_USER_ID
- OTV_USER_ID
- SSH_USER_ID
- MIN_PHP_VERSION
- SECUREFILE
- DB_SSL
- UPGRADE_SEND_EMAILS
- TP_VERSION
- DB_ENCODING
# Activation des vérifications avancées
checkExplicitMixed: false
checkMissingCallableSignature: false
checkFunctionArgumentTypes: false
checkMissingTypehints: false