summaryrefslogtreecommitdiff
path: root/phpstan.neon.dist
blob: 0e770c2b829596b77b14b8ce0526f7531708bafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
includes:
    - phpstan-baseline.neon

parameters:
    fileExtensions:
        - php
        - phtml

    level: max

    paths:
        - index.php
        - public/index.php
        - app
        - resources/views
        - tests

    ignoreErrors:
        - '#^Call to an undefined method PHPUnit\\Framework\\MockObject\\Builder\\InvocationStubber::with\(\)\.$#'
        - '#^Cannot call method willReturn\(\) on mixed\.$#'