-
Notifications
You must be signed in to change notification settings - Fork 102
/
depfile.classes.yml
52 lines (41 loc) · 953 Bytes
/
depfile.classes.yml
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
paths:
- ./lib/php-extension/src
- ./src
layers:
- name: Controller
collectors:
- type: className
regex: .*Controller$
- name: Service
collectors:
- type: className
regex: .*Service$
- name: Query
collectors:
- type: className
regex: .*Query$
- type: className
regex: .*QueryInterface$
- name: Repository
collectors:
- type: className
regex: .*Repository$
- type: className
regex: .*RepositoryInterface$
##############################################################
## RULES SET
##
## Some dependency rules might be missing, I only added the ones currently needed to make the test green.
## Any new dependency should be analysed and added if appropriate.
##
###############################
ruleset:
Controller:
- Service
- Query
- Repository
Service:
- Query
- Repository
Query: ~
Repository: ~