-
-
Notifications
You must be signed in to change notification settings - Fork 230
/
phpstan.tests.neon
49 lines (44 loc) · 1.54 KB
/
phpstan.tests.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
39
40
41
42
43
44
45
46
47
48
49
includes:
- phpstan.common.neon
- phpstan.tests.baseline.neon
parameters:
level: 9
ignoreErrors:
- '#^Offset \d+ does not exist on.+Collection.+int.+$#'
fileExtensions:
- php
ergebnis:
noParameterWithNullableTypeDeclaration:
enabled: false
noNullableReturnTypeDeclaration:
enabled: false
noParameterWithNullDefaultValue:
enabled: false
final:
allowAbstractClasses: false
classesNotRequiredToBeAbstractOrFinal:
- Bavix\Wallet\Models\Wallet
- Bavix\Wallet\Models\Transfer
- Bavix\Wallet\Models\Transaction
noExtends:
classesAllowedToBeExtended:
# laravel
- Illuminate\Support\ServiceProvider
- Illuminate\Database\Eloquent\Model
- Illuminate\Database\Migrations\Migration
- Illuminate\Database\Eloquent\Factories\Factory
# php exceptions
- RuntimeException
- InvalidArgumentException
# phpunit
- Orchestra\Testbench\TestCase
- Bavix\Wallet\Test\Infra\TestCase
# wallet
- Bavix\Wallet\Models\Wallet
- Bavix\Wallet\Models\Transfer
- Bavix\Wallet\Models\Transaction
noParameterWithContainerTypeDeclaration:
interfacesImplementedByContainers:
- Psr\Container\ContainerInterface
paths:
- tests/