Skip to content

Commit 782a896

Browse files
committed
reworked dependencies in deptrac
1 parent 4f082eb commit 782a896

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

depfile.yaml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,19 @@ layers:
1212
- type: className
1313
regex: ^Bavix\\.*\\Traits\\.*
1414

15+
- name: UIException
16+
collectors:
17+
- type: className
18+
regex: ^Illuminate\\Database\\Eloquent\\ModelNotFoundException$
19+
- type: className
20+
regex: ^Bavix\\Wallet\\Exceptions\\.*
21+
1522
# internal
23+
- name: InternalException
24+
collectors:
25+
- type: className
26+
regex: ^Bavix\\.*\\Internal\\Exceptions\\.*
27+
1628
- name: Dto
1729
collectors:
1830
- type: className
@@ -81,11 +93,6 @@ layers:
8193
regex: ^Bavix\\.*Services\\.*ServiceInterface$
8294

8395
# framework
84-
- name: ModelNotFoundException
85-
collectors:
86-
- type: className
87-
regex: ^Illuminate\\Database\\Eloquent\\ModelNotFoundException$
88-
8996
- name: EloquentModel
9097
collectors:
9198
- type: className
@@ -104,12 +111,17 @@ layers:
104111
ruleset:
105112
UI:
106113
- AssemblerDtoInterface # delete as soon as possible
107-
- ModelNotFoundException
114+
- InternalException
108115
- ServiceInterface
116+
- UIException
109117
- Model
110118
- Legacy # delete as soon as possible
111119

120+
UIException:
121+
- InternalException
122+
112123
Infra:
124+
- InternalException
113125
- ServiceInterface
114126
- Config
115127
- Cache
@@ -119,8 +131,10 @@ ruleset:
119131

120132
Model:
121133
- AssemblerDtoInterface
134+
- InternalException
122135
- ServiceInterface
123136
- EloquentModel
137+
- UIException
124138
- Legacy
125139
- UI
126140

@@ -141,15 +155,19 @@ ruleset:
141155
- Model
142156

143157
ServiceInterface:
158+
- InternalException
144159
- EloquentModel
145160
- DtoInterface
161+
- UIException
146162
- Model
147163
Service:
148164
- AssemblerDtoInterface
149165
- RepositoryInterface
166+
- InternalException
150167
- ServiceInterface
151168
- EloquentModel
152169
- DtoInterface
170+
- UIException
153171
- Model
154172

155173
AssemblerDtoInterface:
@@ -166,4 +184,5 @@ ruleset:
166184
- AssemblerDtoInterface
167185
- ServiceInterface
168186
- DtoInterface
187+
- UIException
169188
- Model

0 commit comments

Comments
 (0)