diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-09-27 11:50:34 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2024-09-27 11:50:34 +0000 |
| commit | 5f78b312c8ad82f91148d6bfe79c614651736161 (patch) | |
| tree | 43b1092303c8fd99a1cf1c1493da567bf8119eed /phpstan.neon.dist | |
| parent | 48ea0fdedeaa4b75e113a521d63682fed3881c4e (diff) | |
fix errors found through static code analysis, fixes #4562
Closes #4562
Merge request studip/studip!3375
Diffstat (limited to 'phpstan.neon.dist')
| -rw-r--r-- | phpstan.neon.dist | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 5b8547f..2d66785 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -7,17 +7,17 @@ parameters: - tests/functional - tests/jsonapi - tests/unit + - tests/_support scanDirectories: - app/controllers - lib - vendor excludePaths: - lib/classes/ZipArchiveLegacyTrait.php - - lib/elearning/studip_referrer.php - - lib/soap/StudipSoapClient_PHP5.php + - lib/ilias_interface/studip_referrer_7x.php + - lib/ilias_interface/studip_referrer_8x.php tmpDir: .caches - earlyTerminatingMethodCalls: - RESTAPI\RouteMap: - - error - - halt - - notFound + ignoreErrors: + - + message: '#Unsafe usage of new static\(\)\.#' + path: lib/classes/SimpleORMap.php |
