aboutsummaryrefslogtreecommitdiff
path: root/phpstan.neon
blob: 608767885a55eb36d8d8ef05384e4c8d05d1bf0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
includes:
    - vendor/pepakriz/phpstan-exception-rules/extension.neon

parameters:
    level: 5
    paths:
        - app/class
        - app/fn
        - index.php
        - tests
    exceptionRules:
        # ignore some exceptions and their chlidrens
        uncheckedExceptions:
            - Error
            - LogicException
        # ignore all exceptions errors in tests classes
        methodWhitelist:
            PHPUnit\Framework\TestCase: '#.*#i'