aboutsummaryrefslogtreecommitdiff
path: root/phpstan.neon.dist
blob: 2d66785205cdcca1ddfd1fd2b3b0a6003341f834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
parameters:
    level: 0
    phpVersion: 80100 # PHP 8.1
    paths:
        - app/controllers
        - lib
        - tests/functional
        - tests/jsonapi
        - tests/unit
        - tests/_support
    scanDirectories:
        - app/controllers
        - lib
        - vendor
    excludePaths:
        - lib/classes/ZipArchiveLegacyTrait.php
        - lib/ilias_interface/studip_referrer_7x.php
        - lib/ilias_interface/studip_referrer_8x.php
    tmpDir: .caches
    ignoreErrors:
        -
            message: '#Unsafe usage of new static\(\)\.#'
            path: lib/classes/SimpleORMap.php