-
Notifications
You must be signed in to change notification settings - Fork 283
Expand file tree
/
Copy pathphpstan.neon
More file actions
41 lines (34 loc) · 1.05 KB
/
phpstan.neon
File metadata and controls
41 lines (34 loc) · 1.05 KB
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
39
40
41
includes:
- phpstan-baseline.neon
parameters:
level: max
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
paths:
- application
- library/Icinga
- modules/doc/application
- modules/migrate/application
- modules/setup/application
- modules/test/application
- modules/translation/application
- modules/doc/library
- modules/migrate/library
- modules/setup/library
- modules/translation/library
ignoreErrors:
- '#Unsafe usage of new static\(\)#'
- '#. but return statement is missing#'
- '#Cannot call method importNode\(\) on DOMDocument\|null.#'
scanDirectories:
- /usr/share/icinga-php
- /usr/share/icingaweb2-modules
excludePaths:
- library/Icinga/Test
universalObjectCratesClasses:
- ipl\Orm\Model
- Icinga\Data\ConfigObject
- Icinga\Web\View
- Icinga\Web\Session\SessionNamespace
- Icinga\User\Preferences