-
Notifications
You must be signed in to change notification settings - Fork 24
/
phpstan.neon
42 lines (31 loc) · 1.14 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
39
40
41
42
includes:
- phpstan-baseline-common.neon
- phpstan-baseline-by-php-version.php
parameters:
level: max
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
paths:
- application
- library
scanDirectories:
- /icingaweb2
- /usr/share/icingaweb2-modules/director
- /usr/share/icinga-php/ipl
- /usr/share/icinga-php/vendor
ignoreErrors:
-
messages:
- '#Unsafe usage of new static\(\)#'
- '#. but return statement is missing#'
reportUnmatched: false
- '#Call to an undefined method React\\Promise#'
- '#Call to an undefined method ipl\\Sql\\Connection::lastInsertId\(\)#'
- '#Access to an undefined property React\\Socket\\ConnectionInterface::\$stream#'
- '#Binary operation .* between GMP and .* results in an error#'
- '#Access to an undefined property (Icinga\\Module\\X509\\Model\\.*|ipl\\Orm\\Query::.*)#'
universalObjectCratesClasses:
- ipl\Orm\Model
- Icinga\Web\View
- Icinga\Data\ConfigObject