mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-02-18 10:07:59 -05:00
- Remove all errors that were caused by the monitoring module as it is no longer a part if this repo - Remove baselines of php versions that are no longer supported - Merge baselines standard, 8.1 and 8.x since seperating them is no longer necessary. - Remove errors that are no longer generated
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
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
|