aboutsummaryrefslogtreecommitdiff
path: root/phpstan.neon.dist
blob: bc2526cc6f5c6c4ef92e29af121e7e2b5fdaca74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
parameters:
    level: 0
    phpVersion: 70200 # PHP 7.2
    paths:
        - app/routes
        - lib
        # - tests
    scanFiles:
        - composer/phpxmlrpc/phpxmlrpc/lib/xmlrpc.inc
    scanDirectories:
        - app/controllers
        - lib
        - vendor
    excludePaths:
        - lib/classes/ZipArchiveLegacyTrait.php
        - lib/elearning/studip_referrer.php
        - lib/soap/StudipSoapClient_PHP5.class.php
    tmpDir: .caches
    earlyTerminatingMethodCalls:
        RESTAPI\RouteMap:
            - error
            - halt
    ignoreErrors:
        # - '#Undefined variable#'