-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeptrac.yaml
40 lines (32 loc) · 842 Bytes
/
deptrac.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
deptrac:
paths:
- src/
exclude_files:
- src/Presentation/Console/Application/ApplicationFactory.php
layers:
- name: 'Application'
collectors:
- type: directory
value: src/Application/.*
- name: 'Infrastructure'
collectors:
- type: directory
value: src/Infrastructure/.*
- name: 'Domain'
collectors:
- type: directory
value: src/Domain/.*
- name: 'Shared'
collectors:
- type: directory
value: src/Shared/.*
- name: 'Presentation'
collectors:
- type: directory
value: src/Presentation/.*
ruleset:
Domain: [Shared]
Infrastructure: [Domain, Shared, Application]
Application: [Domain, Infrastructure, Shared]
Shared: ~
Presentation: [Application, Domain, Shared]