aboutsummaryrefslogtreecommitdiff
path: root/phpstan.neon.dist
blob: f95ee2d7d3756ce9b03cdc7b6e9c1a2c51194df4 (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
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/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

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