aboutsummaryrefslogtreecommitdiff
path: root/phpstan.neon.dist
blob: 4bf7b7ef44c3259e55f442c73aa1383e5eb8fa46 (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
25
26
27
28
29
30
31
parameters:
    level: 0
    phpVersion: 80100 # PHP 8.1
    paths:
        - app/controllers
        - cli
        - config
        - db/migrations
        - lib
        - tests/functional
        - tests/jsonapi
        - tests/unit
        - tests/_support
    scanDirectories:
        - app/controllers
        - cli
        - lib
        - vendor
    excludePaths:
        - config/config_local_develop.inc.php
        - lib/ilias_interface/studip_referrer_7x.php
        - lib/ilias_interface/studip_referrer_8x.php
        - lib/ilias_interface/studip_referrer_9x.php
    tmpDir: .caches
    ignoreErrors:
        -
            message: '#Unsafe usage of new static\(\)\.#'
            path: lib/classes/SimpleORMap.php

includes:
  - ./composer/zorac/phpstan-php-di/extension.neon