diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:29:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:29:16 +0000 |
commit | 8a985929ed84cdb458a13c66b25f84e41133b24f (patch) | |
tree | 102a3d6e3cb731c6d23263095d0098f99572626d /phpstan.neon | |
parent | Adding upstream version 0.10.0. (diff) | |
download | icingaweb2-module-reporting-8a985929ed84cdb458a13c66b25f84e41133b24f.tar.xz icingaweb2-module-reporting-8a985929ed84cdb458a13c66b25f84e41133b24f.zip |
Adding upstream version 1.0.1.upstream/1.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | phpstan.neon | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..b540b89 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,35 @@ +includes: + - phpstan-baseline.neon + +parameters: + level: max + + checkFunctionNameCase: true + checkInternalClassCaseSensitivity: true + treatPhpDocTypesAsCertain: false + + paths: + - application + - library + + scanDirectories: + - /icingaweb2 + - /usr/share/icinga-php/ipl + - /usr/share/icinga-php/vendor + - /usr/share/icingaweb2-modules/icingadb + - /usr/share/icingaweb2-modules/pdfexport + + ignoreErrors: + - + messages: + - '#Unsafe usage of new static\(\)#' + - '#. but return statement is missing#' + reportUnmatched: false + + - '#Call to an undefined method Icinga\\Module\\Reporting\\RetryConnection::lastInsertId\(\)#' + + - '#Call to an undefined method Zend_Controller_Action_HelperBroker::layout\(\)#' + + universalObjectCratesClasses: + - Icinga\Web\View + - ipl\Orm\Model |