diff options
Diffstat (limited to '')
-rw-r--r-- | phpstan.neon | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..8c09b51 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,31 @@ +includes: + - phpstan-baseline.neon + +parameters: + level: max + + checkFunctionNameCase: true + checkInternalClassCaseSensitivity: true + treatPhpDocTypesAsCertain: false + + paths: + - application + - library + + scanDirectories: + - vendor + + 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 |