2023-08-22 14:21:28 +02:00
|
|
|
includes:
|
2024-01-23 16:57:16 +01:00
|
|
|
- phpstan-baseline-standard.neon
|
|
|
|
- phpstan-baseline-by-php-version.php
|
2023-08-22 14:21:28 +02:00
|
|
|
|
2023-06-14 13:46:41 +02:00
|
|
|
parameters:
|
2023-08-22 14:21:28 +02:00
|
|
|
level: max
|
2023-06-14 13:46:41 +02:00
|
|
|
|
|
|
|
checkFunctionNameCase: true
|
|
|
|
checkInternalClassCaseSensitivity: true
|
2023-08-22 14:21:28 +02:00
|
|
|
treatPhpDocTypesAsCertain: false
|
2023-06-14 13:46:41 +02:00
|
|
|
|
|
|
|
paths:
|
|
|
|
- application
|
|
|
|
- library/Icinga
|
|
|
|
- modules/doc/application
|
|
|
|
- modules/migrate/application
|
|
|
|
- modules/monitoring/application
|
|
|
|
- modules/setup/application
|
|
|
|
- modules/test/application
|
|
|
|
- modules/translation/application
|
|
|
|
- modules/doc/library
|
|
|
|
- modules/migrate/library
|
|
|
|
- modules/monitoring/library
|
|
|
|
- modules/setup/library
|
|
|
|
- modules/translation/library
|
|
|
|
|
|
|
|
ignoreErrors:
|
|
|
|
- '#Unsafe usage of new static\(\)#'
|
|
|
|
- '#. but return statement is missing#'
|
2023-08-25 12:35:04 +02:00
|
|
|
- '#Cannot call method importNode\(\) on DOMDocument\|null.#'
|
2023-06-14 13:46:41 +02:00
|
|
|
|
|
|
|
scanDirectories:
|
2024-01-22 09:49:08 +01:00
|
|
|
- /usr/share/icinga-php
|
|
|
|
- /usr/share/icingaweb2-modules
|
2023-06-14 13:46:41 +02:00
|
|
|
|
|
|
|
excludePaths:
|
|
|
|
- library/Icinga/Test
|
|
|
|
|
2023-08-22 14:21:28 +02:00
|
|
|
universalObjectCratesClasses:
|
2023-06-21 17:24:32 +02:00
|
|
|
- ipl\Orm\Model
|
2023-06-14 13:46:41 +02:00
|
|
|
- Icinga\Data\ConfigObject
|
|
|
|
- Icinga\Web\View
|
|
|
|
- Icinga\Module\Monitoring\Object\MonitoredObject
|
|
|
|
- Icinga\Module\Monitoring\DataView\DataView
|
|
|
|
- Icinga\Web\Session\SessionNamespace
|
|
|
|
- Icinga\User\Preferences
|