-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathphpstan.neon
40 lines (38 loc) · 1.08 KB
/
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
35
36
37
38
39
40
parameters:
level: 7
paths:
- src
- tests
banned_code:
nodes:
-
type: Stmt_Echo
functions: null
-
type: Expr_Exit
functions: null
-
type: Expr_Eval
functions: null
-
type: Expr_FuncCall
functions:
- debug_backtrace
- dump
- exec
- passthru
- phpinfo
- print_r
- proc_open
- shell_exec
- system
- var_dump
use_from_tests: true
treatPhpDocTypesAsCertain: false
includes:
- phpstan-baseline.neon
- vendor/ekino/phpstan-banned-code/extension.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon