icingaweb2-module-businessp.../phpstan.neon

32 lines
664 B
Text
Raw Normal View History

includes:
- phpstan-baseline.neon
2023-06-19 08:17:52 -04:00
parameters:
level: max
2023-06-19 08:17:52 -04:00
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
paths:
- application
- library
scanDirectories:
- vendor
excludePaths:
- library/Businessprocess/Test
2023-06-19 08:17:52 -04:00
ignoreErrors:
-
messages:
- '#Unsafe usage of new static\(\)#'
- '#. but return statement is missing#'
reportUnmatched: false
2023-06-19 08:17:52 -04:00
universalObjectCratesClasses:
- Icinga\Web\View
- ipl\Orm\Model
- Icinga\Module\Monitoring\Object\MonitoredObject