forked from DirectoryLister/DirectoryLister
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
41 lines (31 loc) · 864 Bytes
/
phpstan.neon.dist
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
33
34
35
36
37
38
39
40
41
parameters:
paths:
- app
- tests
excludePaths:
- app/cache/*
- app/vendor/*
stubFiles:
- stubs/DI/Container.stub
level: 8
checkFunctionNameCase: true
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
exceptions:
implicitThrows: false
check:
missingCheckedExceptionInThrows: true
tooWideThrowType: true
uncheckedExceptionClasses:
- 'DI\DependencyException'
- 'InvalidArgumentException'
- 'Invoker\Exception\NotCallableException'
- 'LogicException'
- 'RuntimeException'
- 'Psr\Cache\InvalidArgumentException'
- 'SebastianBergmann\RecursionContext\InvalidArgumentException'
- 'Symfony\Component\Cache\Exception\CacheException'
- 'PHPUnit\Framework\Exception'
includes:
- phpstan-baseline.neon
- phpstan-ignores.neon