diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:17:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:17:48 +0000 |
commit | e6d4dfc040bbe3cb80a2ce65b82493b557f751fc (patch) | |
tree | 40bd6366b01b06f4d96fc8638f23a772263cb5e9 /phpstan.neon | |
parent | Releasing progress-linux version 1.10.2-2~progress7.99u1. (diff) | |
download | icingaweb2-module-director-e6d4dfc040bbe3cb80a2ce65b82493b557f751fc.tar.xz icingaweb2-module-director-e6d4dfc040bbe3cb80a2ce65b82493b557f751fc.zip |
Merging upstream version 1.11.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'phpstan.neon')
-rw-r--r-- | phpstan.neon | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..c02492f --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,40 @@ +includes: + - phpstan-baseline.neon + +parameters: + level: 2 + + checkFunctionNameCase: true + checkInternalClassCaseSensitivity: true + treatPhpDocTypesAsCertain: false + + paths: + - application + - library/Director + + ignoreErrors: + - + messages: + - '#Unsafe usage of new static\(\)#' + - '#. but return statement is missing#' + reportUnmatched: false + + scanDirectories: + - /icingaweb2 + - /usr/share/icinga-php + - /usr/share/icingaweb2-modules + + excludePaths: + - library/Director/CoreBeta + - test + - library/Director/Test + + universalObjectCratesClasses: + - Icinga\Module\Director\Data\Db\DbObject + - Icinga\Data\ConfigObject + - Icinga\Web\View + - Icinga\Module\Monitoring\Object\MonitoredObject + - Icinga\Module\Monitoring\DataView\DataView + - Icinga\Web\Session\SessionNamespace + - Icinga\User\Preferences + - ipl\Orm\Model |