forked from bavix/laravel-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.tests.neon
40 lines (35 loc) · 1.16 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
includes:
- phpstan.common.neon
- phpstan.tests.baseline.neon
parameters:
level: 9
ignoreErrors:
- '#^Offset \d+ does not exist on.+Collection.+int.+$#'
fileExtensions:
- php
ergebnis:
allowAbstractClasses: false
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
classesNotRequiredToBeAbstractOrFinal:
- Bavix\Wallet\Models\Wallet
- Bavix\Wallet\Models\Transfer
- Bavix\Wallet\Models\Transaction
interfacesImplementedByContainers:
- Psr\Container\ContainerInterface
paths:
- tests/