-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
33 lines (32 loc) · 983 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
includes:
- vendor/larastan/larastan/extension.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/ekino/phpstan-banned-code/extension.neon
parameters:
level: 8
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
paths:
- src
ignoreErrors:
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::withTrashed\(\).#'
banned_code:
nodes:
- type: Expr_FuncCall
functions:
- dd
- debug_backtrace
- die
- dump
- echo
- eval
- exec
- exit
- passthru
- phpinfo
- print_r
- proc_open
- shell_exec
- system
- var_dump