From 8adc969fb08ffab5f8e9e0b05b081046bdc2ad9a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:21:35 +0200 Subject: Merging upstream version 1.2.4. Signed-off-by: Daniel Baumann --- phpstan.neon | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 phpstan.neon (limited to 'phpstan.neon') diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..78a9dcc --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,28 @@ +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: # to ignore magic property errors + - ipl\Orm\Model + - Icinga\Web\View + - Icinga\Data\ConfigObject -- cgit v1.2.3