forked from TOMMMMMMMMMC/GreatPosterWall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
32 lines (31 loc) · 1.04 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
parameters:
level: 1
bootstrapFiles:
- classes/config.template.php
scanFiles:
- classes/paranoia.class.php
- classes/proxies.class.php
- classes/time.class.php
- classes/util.php
- sections/artist/index.php
- sections/torrents/functions.php
paths:
- app
- classes
- db
excludes_analyse:
- classes/pushserver.class.php
- design
- sections
parallel:
maximumNumberOfProcesses: 1
# The ignored error in theory should not occur on PHP 7.3 with php-gd, but
# we have had it happen nevertheless on some developer machines. Given its
# our only ignored error, we are fine having this error happen optionally
# for developers. If we add more ignored errors, we should readdress this
# setting, and if the error still occurs for people
reportUnmatchedIgnoredErrors: false
ignoreErrors:
-
message: '/(Constant IMG_BMP|Function imagebmp) not found\./'
path: app/Image.php