-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
executable file
·45 lines (37 loc) · 1.44 KB
/
phpstan.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
services:
-
class: Spatie\DataTransferObject\PHPstan\PropertiesAreAlwaysInitializedExtension
tags:
- phpstan.properties.readWriteExtension
includes:
- phpstan-baseline.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
parameters:
paths:
- tests
- src
# The level 8 is the highest level
level: 3
excludes_analyse:
- src/Infrastructure/Persistence/database/*
ignoreErrors:
checkMissingIterableValueType: false
# ergebnis:
# classesAllowedToBeExtended:
# - Api\Common\Bus\Abstracts\ValidatorAbstract
# - Api\Common\Bus\Abstracts\QueryAbstract
# - Api\Common\Bus\Abstracts\CommandAbstract
# - Laravel\Lumen\Testing\TestCase
# - Laravel\Lumen\Exceptions\Handler
# - Laravel\Lumen\Console\Kernel
# - Illuminate\Support\ServiceProvider
# - Api\Presentation\Api\REST\BaseController
# - Rebing\GraphQL\Support\Type
# - Rebing\GraphQL\Support\Query
# - Api\Infrastructure\Persistence\Repositories\Doctrine\BaseDoctrineRepository
# - Api\Common\DTO\DataTransferObjectCollection
# - Api\Common\DTO\DataTransferObject
# - Spatie\DataTransferObject\DataTransferObjectCollection
# - Spatie\DataTransferObject\DataTransferObject
# - TestCase