-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
34 lines (34 loc) · 952 Bytes
/
phpstan.neon
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
parameters:
phpVersion: 80200
level: 8
paths:
- src
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
banned_code:
nodes:
-
type: Stmt_Echo
functions: null
-
type: Expr_Eval
functions: null
-
type: Expr_Exit
functions: null
-
type: Expr_FuncCall
functions:
- dd
- debug_backtrace
- dump
- passthru
- phpinfo
- print_r
- proc_open
- system
- var_dump
ignoreErrors:
-
message: '#Unsafe usage of new static\(\).#'
path: %rootDir%/../../../src/MediaAnalyzerArguments/Questionnaires/Questionnaire.php