-
Notifications
You must be signed in to change notification settings - Fork 1
/
deptrac.yaml
44 lines (44 loc) · 1.09 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
parameters:
paths:
- ./src
exclude_files:
- '#.*test.*#'
layers:
- name: Domain
collectors:
- type: glob
value: src/**/Domain/**
- name: Application
collectors:
- type: glob
value: src/**/Application/**
- name: UI
collectors:
- type: glob
value: src/**/UI/**
- name: Infrastructure
collectors:
- type: glob
value: src/**/Infrastructure/**
- name: Vendors
collectors:
- type: classLike
value: Symfony.*
- name: PSR
collectors:
- type: classLike
value: Psr.*
# see also https://qossmic.github.io/deptrac/collectors/#layer-collector
ruleset:
Domain:
Application:
- Domain
UI:
- Application
- Vendors
- PSR
Infrastructure:
- Domain
- Application
- Vendors
- PSR