mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-04-14 13:36:11 -04:00
As the minimum supported PHP version is now 8.2, the PHPStan support smaller versions and the PHP 7 baseline is removed.
33 lines
741 B
Text
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
|