-
Notifications
You must be signed in to change notification settings - Fork 0
/
deptrac.yaml
55 lines (54 loc) · 1.03 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
parameters:
paths:
- ./src
#exclude_files:
# - '#.*test.*#'
layers:
- name: Symfony
collectors:
- type: classLike
regex: .*Symfony.*
- name: Doctrine
collectors:
- type: classLike
regex: .*Doctrine.*
- name: Controller
collectors:
- type: directory
regex: .*Controller.*
- name: Manager
collectors:
- type: directory
regex: .*Manager.*
- name: Repository
collectors:
- type: directory
regex: .*Repository.*
- name: Service
collectors:
- type: directory
regex: .*Service.*
- name: Entity
collectors:
- type: directory
regex: .*Entity.*
ruleset:
Controller:
- Service
- Symfony
Manager:
- Repository
- Entity
- Symfony
Service:
- Manager
- Entity
- Symfony
Repository:
- Entity
- Doctrine
- Symfony
Entity:
- Repository
- Doctrine
- Symfony