aboutsummaryrefslogtreecommitdiff
path: root/phpstan.neon.dist
blob: 09688095e8f39eb4bca4cab344bc93359301253a (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
    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#'