-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdeptrac.yaml
102 lines (102 loc) · 2.84 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
parameters:
paths:
- ./app
exclude_files:
- '#.*Test\.php$#'
- '#.*Factory\.php$#'
- '#.*Seeder\.php$#'
layers:
- name: Admin
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Admin/.*
- name: Controller
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Http/Controllers/.*
- name: Request
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Http/Requests/.*
- name: Resource
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Http/Resources/.*
- name: Action
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Actions/.*
- name: Service
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Services/.*
- name: Job
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Jobs/.*
- name: Event
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Events/.*
- name: Observer
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Observers/.*
- name: Notification
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Notifications/.*
- name: Model
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Models/.*
- name: Builder
collectors:
- type: directory
regex: (Domains|Components)/[\w]+/Database/Builders/.*
ruleset:
Controller:
- Action
- Model
- Resource
- Request
- Builder
- Service
Action:
- Event
- Model
- Builder
- Request
- Service
Service:
- Service
- Model
- Builder
- Resource
- Admin
Request:
- Model
Resource:
- Model
Job:
- Action
- Model
Event:
- Model
Observer:
- Model
Notification:
- Model
Builder:
- Model
Model:
- Builder
- Model
- Job
Admin:
- Admin
- Model
- Builder
- Job
- Action
- Service