summaryrefslogtreecommitdiff
path: root/phpstan.neon
blob: 0f3527c516999e36bc0fee5da94fef6e8b2f79d6 (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
32
parameters:
    level: 10
    paths:
        - src
        - tests
    ignoreErrors:
        -
            message: '#Call to an undefined method Pest\\Expectation<#'
            path: tests
            identifier: method.notFound
            reportUnmatched: false
        -
            message: '#Parameter \#1 \$value of method Pest\\Support\\HigherOrderCallables::expect\(\)#'
            path: tests
            identifier: argument.type
            reportUnmatched: false
        -
            message: '#Cannot call method ([a-zA-Z0-9_])+\(\) on mixed.#'
            path: tests
            identifier: method.nonObject
            reportUnmatched: false
        -
            message: '#Cannot access property \$([a-zA-Z0-9_])+ on mixed.#'
            path: tests
            identifier: property.nonObject
            reportUnmatched: false
        -
            path: tests
            identifiers:
                - property.dynamicName
                - method.dynamicName
            reportUnmatched: false