Files
Gazelle-Porn/phpstan.neon
2022-06-03 12:50:23 +08:00

33 lines
1.0 KiB
Plaintext

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