icingadb-web/phpstan.neon
Sukhwinder Dhillon 1fa4f3dbad Phpstan: Set level to max and add baseline file
- Remove already default flags in `max` level
2023-09-05 14:49:16 +02:00

28 lines
583 B
Text

includes:
- phpstan-baseline.neon
parameters:
level: max
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
paths:
- application
- library
scanDirectories:
- vendor
ignoreErrors:
-
messages:
- '#Unsafe usage of new static\(\)#'
- '#. but return statement is missing#'
reportUnmatched: false
universalObjectCratesClasses:
- ipl\Orm\Model
- Icinga\Web\View
- Icinga\Data\ConfigObject