36 lines
913 B
Plaintext
36 lines
913 B
Plaintext
includes:
|
|
- phpstan-baseline.neon
|
|
|
|
parameters:
|
|
level: 2
|
|
|
|
checkFunctionNameCase: false
|
|
checkInternalClassCaseSensitivity: false
|
|
treatPhpDocTypesAsCertain: false
|
|
|
|
paths:
|
|
- application
|
|
- library/Director
|
|
|
|
ignoreErrors:
|
|
- '#Unsafe usage of new static\(\)#'
|
|
- '#. but return statement is missing#'
|
|
|
|
scanDirectories:
|
|
- /icingaweb2
|
|
- /usr/share/icinga-php
|
|
- /usr/share/icingaweb2-modules/incubator
|
|
- /usr/share/icingaweb2-modules/cube
|
|
|
|
excludePaths:
|
|
- library/Director/CoreBeta
|
|
|
|
universalObjectCratesClasses:
|
|
- Icinga\Module\Director\Data\Db\DbObject
|
|
- Icinga\Data\ConfigObject
|
|
- Icinga\Web\View
|
|
- Icinga\Module\Monitoring\Object\MonitoredObject
|
|
- Icinga\Module\Monitoring\DataView\DataView
|
|
- Icinga\Web\Session\SessionNamespace
|
|
- Icinga\User\Preferences
|