-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
44 lines (39 loc) · 877 Bytes
/
phpstan.neon
File metadata and controls
44 lines (39 loc) · 877 Bytes
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
includes:
- vendor/ekino/phpstan-banned-code/extension.neon
parameters:
level: 9
paths:
- src
- tests
bootstrapFiles:
- vendor/bin/.phpunit/phpunit/vendor/autoload.php
parallel:
maximumNumberOfProcesses: 10
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
banned_code:
nodes:
# enable detection of echo
-
type: Stmt_Echo
functions: null
# enable detection of die/exit
-
type: Expr_Exit
functions: null
# enable detection of a set of functions
-
type: Expr_FuncCall
functions:
- dump
- dd
- debug_backtrace
- exec
- passthru
- phpinfo
- print_r
- proc_open
- shell_exec
- system
- var_dump
ignoreErrors: []