forked from jakzal/toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
depfile.yml
62 lines (62 loc) · 1.38 KB
/
depfile.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
53
54
55
56
57
58
59
60
61
62
paths:
- ./src
exclude_files: ~
layers:
- name: Cli
collectors:
- type: className
regex: ^Zalas\\Toolbox\\Cli\\.*
- name: Json
collectors:
- type: className
regex: ^Zalas\\Toolbox\\Json\\.*
- name: Runner
collectors:
- type: className
regex: ^Zalas\\Toolbox\\Runner\\.*
- name: Tool
collectors:
- type: className
regex: ^Zalas\\Toolbox\\Tool\\.*
- name: UseCase
collectors:
- type: className
regex: ^Zalas\\Toolbox\\UseCase\\.*
- name: Psr Container
collectors:
- type: className
regex: ^Psr\\Container\\.*
- name: Symfony Console
collectors:
- type: className
regex: ^Symfony\\Component\\Console\\.*
- name: Other Vendors
collectors:
- type: bool
must:
# must be outside of global namespace
- type: className
regex: '[\\]+'
must_not:
# must not be one of the known vendors
- type: className
regex: ^Zalas\\Toolbox\\(Cli|Json|Runner|Tool|UseCase)\\.*
- type: className
regex: ^Psr\\Container\\.*
- type: className
regex: ^Symfony\\Component\\Console\\.*
ruleset:
Cli:
- Tool
- Json
- Runner
- UseCase
- Symfony Console
- Psr Container
Json:
- Tool
Runner:
- Tool
Tool:
UseCase:
- Tool