forked from NamelessMC/Nameless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
33 lines (33 loc) · 1.15 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
parameters:
level: 2
paths:
- ./
excludePaths:
- core/includes/
- cache/
# Ignore notices which are thrown due to the procedural nature of Nameless
ignoreErrors:
- '#might not be defined#'
- '#Constant#'
- '#in isset\(\) always exists and is not nullable#'
- '#Undefined variable:#'
- '#in isset\(\) is never defined.#'
# Autoload classes
scanDirectories:
- core/classes
- modules/Core/classes
- modules/Discord Integration/classes
- modules/Forum/classes
scanFiles:
- core/includes/bulletproof/bulletproof.php
- core/includes/sitemapphp/Sitemap.php
bootstrapFiles:
- core/includes/emojione/autoload.php
- core/includes/htmlpurifier/HTMLPurifier.standalone.php
- core/includes/markdown/tohtml/Markdown.inc.php
- core/includes/markdown/tohtml/MarkdownExtra.inc.php
- core/includes/markdown/tomarkdown/autoload.php
- core/includes/phpmailer/PHPMailerAutoload.php
- core/includes/smarty/bootstrap.php
- core/includes/tfa/autoload.php
- core/includes/phpass.php