diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-07-04 17:56:11 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-07-04 17:56:11 +0000 |
| commit | 4dcb91c6db6921c5a5ba538d7171a8500a6d25c2 (patch) | |
| tree | b740d41c7b463285a68fde447e7ca88d1bb84ed9 /phpstan.neon.dist | |
| parent | 914dd073dec235fde97fbda2b4ef37bf4d856dec (diff) | |
Add PHPStan to Pipeline
Merge request studip/studip!759
Diffstat (limited to 'phpstan.neon.dist')
| -rw-r--r-- | phpstan.neon.dist | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..0968809 --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,24 @@ +parameters: + level: 0 + phpVersion: 70200 # PHP 7.2 + paths: + # - app/routes + - lib + # - tests + scanDirectories: + - app/controllers + - lib + - vendor + excludePaths: + - lib/classes/ZipArchiveLegacyTrait.php + - lib/soap/StudipSoapClient_PHP5.class.php + tmpDir: .caches + earlyTerminatingMethodCalls: + RESTAPI\RouteMap: + - error + - halt + errorFormat: + junit + ignoreErrors: + - '#Access to an undefined property#' + - '#Undefined variable#' |
