-
Notifications
You must be signed in to change notification settings - Fork 57
/
deptrac_hexa.yaml
53 lines (44 loc) · 1.37 KB
/
deptrac_hexa.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
45
46
47
48
49
50
51
52
53
parameters:
paths:
- ./src/BookStore
- ./src/Shared
layers:
- name: Domain
collectors:
- type: directory
regex: .+/Domain/.*
- name: Application
collectors:
- type: directory
regex: .+/Application/.*
- name: Infrastructure
collectors:
- type: directory
regex: .+/Infrastructure/.*
- name: Vendors
collectors:
- { type: className, regex: ^ApiPlatform\\ }
- { type: className, regex: ^Symfony\\(?!(Component\\Uid\\)) }
- { type: className, regex: ^Doctrine\\(?!(ORM\\Mapping)) }
- { type: className, regex: ^Webmozart\\(?!Assert\\Assert) }
- name: Attributes
collectors:
- { type: className, regex: ^Doctrine\\ORM\\Mapping }
- name: Helpers
collectors:
- { type: className, regex: ^Symfony\\Component\\Uid\\ }
- { type: className, regex: ^Webmozart\\Assert\\Assert }
ruleset:
Domain:
- Helpers
- Attributes
Application:
- Domain
- Helpers
- Attributes
Infrastructure:
- Domain
- Application
- Vendors
- Helpers
- Attributes