Repository navigation
Expand file tree
/
Copy pathdeptrac.yaml
More file actions
111 lines (111 loc) · 2.77 KB
/
Copy pathdeptrac.yaml
File metadata and controls
111 lines (111 loc) · 2.77 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
deptrac:
paths:
- src
# Layer-dependency contract (default-deny): an edge not listed in the ruleset
# fails analysis. Adding a layer tightens; adding a ruleset edge loosens and is
# the human's edit only.
layers:
- name: Root
collectors:
- type: classLike
value: ^Firehed\\PhpLsp\\Server$
- name: Cache
collectors:
- { type: directory, value: src/Cache/.* }
- name: Capability
collectors:
- { type: directory, value: src/Capability/.* }
- name: Client
collectors:
- { type: directory, value: src/Client/.* }
- name: Completion
collectors:
- { type: directory, value: src/Completion/.* }
- name: Document
collectors:
- { type: directory, value: src/Document/.* }
- name: Domain
collectors:
- { type: directory, value: src/Domain/.* }
- name: Handler
collectors:
- { type: directory, value: src/Handler/.* }
- name: Knowledge
collectors:
- { type: directory, value: src/Knowledge/.* }
- name: Parser
collectors:
- { type: directory, value: src/Parser/.* }
- name: Protocol
collectors:
- { type: directory, value: src/Protocol/.* }
- name: Repository
collectors:
- { type: directory, value: src/Repository/.* }
- name: Resolution
collectors:
- { type: directory, value: src/Resolution/.* }
- name: Transport
collectors:
- { type: directory, value: src/Transport/.* }
ruleset:
Root:
- Cache
- Capability
- Client
- Completion
- Document
- Domain
- Handler
- Knowledge
- Parser
- Protocol
- Repository
- Resolution
- Transport
Handler:
- Cache # InvalidatableInterface: watched-file changes and close-after-edit drop cached on-disk state
- Capability
- Completion
- Document
- Domain
- Knowledge # write path only (SymbolSinkInterface); the SymbolSourceInterface read-side ban is held by the PHPStan rules
- Protocol
- Resolution
Completion:
- Capability
- Document
- Domain
- Knowledge
- Protocol
- Resolution
Resolution:
- Document
- Domain
- Knowledge
- Parser
- Repository
Knowledge:
- Cache
- Document
- Domain
- Parser
- Repository
Repository:
- Document # FileUri, the path/URI conversion authority
- Domain
- Knowledge
Parser:
- Document
- Domain
Document:
- Domain # FileUri: one path has several valid URI spellings
- Protocol
Capability:
- Client
- Protocol
Client:
- Protocol
- Transport
Transport:
- Protocol