-
Notifications
You must be signed in to change notification settings - Fork 140
/
phpstan.neon
38 lines (35 loc) · 1.02 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
parameters:
level: 8
paths:
- redirection.php
- redirection-admin.php
- redirection-capabilities.php
- redirection-cli.php
- redirection-front.php
- redirection-settings.php
- redirection-version.php
scanDirectories:
- matches
- modules
- modules
- fileio
- database
- models
excludePaths:
- vendor
phpVersion: 70100
parallel:
maximumNumberOfProcesses: 4
disallowedFunctionCalls:
-
function: 'var_dump()'
message: 'forgot about it? if needed just add a phpstan ignore line'
-
function: 'print_r()'
message: 'forgot about it? if needed just add a phpstan ignore line'
-
function: 'error_log()'
message: 'forgot about it? if needed just add a phpstan ignore line'
-
function: 'debug_print_var()'
message: 'forgot about it? if needed just add a phpstan ignore line'