icingaweb2-module-businessp.../phpstan.neon
Sukhwinder Dhillon 9c356e93e9
PHPStan: Clean up baseline (#498)
As the minimum supported PHP version is now 8.2, the PHPStan support
smaller versions and the PHP 7 baseline is removed.
2026-03-26 15:02:34 +01:00

33 lines
741 B
Text

includes:
- phpstan-baseline.neon
parameters:
level: max
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
paths:
- application
- library
scanDirectories:
- /icingaweb2
- /usr/share/icinga-php
- /usr/share/icingaweb2-modules
excludePaths:
- library/Businessprocess/Test
ignoreErrors:
-
messages:
- '#Unsafe usage of new static\(\)#'
- '#. but return statement is missing#'
reportUnmatched: false
universalObjectCratesClasses:
- Icinga\Web\View
- ipl\Orm\Model
- Icinga\Module\Monitoring\Object\MonitoredObject