forked from ferrius/ddd-cqrs-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdepfile.yaml
44 lines (44 loc) · 995 Bytes
/
depfile.yaml
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
paths:
- ./src
exclude_files:
- Kernel.php
layers:
- name: CoreApplication
collectors:
- type: className
regex: .*App\\Core\\Application\\(?!Query).*
- name: CoreDomain
collectors:
- type: className
regex: .*App\\Core\\Domain\\.*
- name: CoreInfrastructure
collectors:
- type: className
regex: .*App\\Core\\Infrastructure\\.*
- name: CorePorts
collectors:
- type: className
regex: .*App\\Core\\Ports\\.*
- name: SharedDomain
collectors:
- type: className
regex: .*App\\Shared\\Domain\\.*
- name: SharedInfrastructure
collectors:
- type: className
regex: .*App\\Shared\\Infrastructure\\.*
ruleset:
CoreApplication:
- CoreDomain
- SharedDomain
CoreDomain:
- SharedDomain
CorePorts:
- CoreApplication
- CoreInfrastructure
- SharedInfrastructure
CoreInfrastructure:
- CoreDomain
SharedDomain: ~
SharedInfrastructure:
- SharedDomain