forked from bavix/laravel-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.src.neon
38 lines (36 loc) · 1.15 KB
/
phpstan.src.neon
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
includes:
- phpstan.common.neon
- phpstan.src.baseline.neon
parameters:
level: 9
fileExtensions:
- php
ergebnis:
noParameterWithNullableTypeDeclaration:
enabled: false
noNullableReturnTypeDeclaration:
enabled: false
noParameterWithNullDefaultValue:
enabled: false
final:
allowAbstractClasses: true
classesNotRequiredToBeAbstractOrFinal:
- Bavix\Wallet\Models\Wallet
- Bavix\Wallet\Models\Transfer
- Bavix\Wallet\Models\Transaction
noExtends:
classesAllowedToBeExtended:
# laravel
- Illuminate\Support\ServiceProvider
- Illuminate\Database\Eloquent\Model
# php exceptions
- LogicException
- RuntimeException
- UnderflowException
- UnexpectedValueException
- InvalidArgumentException
noParameterWithContainerTypeDeclaration:
interfacesImplementedByContainers:
- Psr\Container\ContainerInterface
paths:
- src/