|
1 | | -parameters: |
| 1 | +deptrac: |
2 | 2 | paths: |
3 | 3 | - ./src |
4 | | - |
5 | 4 | layers: |
6 | 5 | - name: Legacy |
7 | 6 | collectors: |
8 | | - - type: className |
9 | | - regex: ^Bavix\\.*\\Objects\\Cart$ |
| 7 | + - type: classLike |
| 8 | + value: ^Bavix\\.*\\Objects\\Cart$ |
10 | 9 |
|
11 | 10 | - name: Contract |
12 | 11 | collectors: |
13 | | - - type: className |
14 | | - regex: ^Bavix\\Wallet\\Interfaces\\.* |
15 | | - - type: className |
16 | | - regex: ^Bavix\\Wallet\\External\\Contracts\\.* |
17 | | - - type: className |
18 | | - regex: ^Bavix\\Wallet\\External\\Dto\\.* |
| 12 | + - type: classLike |
| 13 | + value: ^Bavix\\Wallet\\Interfaces\\.* |
| 14 | + - type: classLike |
| 15 | + value: ^Bavix\\Wallet\\External\\Contracts\\.* |
| 16 | + - type: classLike |
| 17 | + value: ^Bavix\\Wallet\\External\\Dto\\.* |
19 | 18 |
|
20 | 19 | - name: Api |
21 | 20 | collectors: |
22 | | - - type: className |
23 | | - regex: ^Bavix\\Wallet\\External\\Api\\.*Interface$ |
| 21 | + - type: classLike |
| 22 | + value: ^Bavix\\Wallet\\External\\Api\\.*Interface$ |
24 | 23 |
|
25 | 24 | - name: ApiQuery |
26 | 25 | collectors: |
27 | | - - type: className |
28 | | - regex: ^Bavix\\Wallet\\External\\Api\\.*Query$ |
| 26 | + - type: classLike |
| 27 | + value: ^Bavix\\Wallet\\External\\Api\\.*Query$ |
29 | 28 |
|
30 | 29 | - name: ApiHandler |
31 | 30 | collectors: |
32 | | - - type: className |
33 | | - regex: ^Bavix\\Wallet\\External\\Api\\.*Handler$ |
| 31 | + - type: classLike |
| 32 | + value: ^Bavix\\Wallet\\External\\Api\\.*Handler$ |
34 | 33 |
|
35 | 34 | - name: UI |
36 | 35 | collectors: |
37 | | - - type: className |
38 | | - regex: ^Bavix\\.*\\Traits\\.* |
| 36 | + - type: classLike |
| 37 | + value: ^Bavix\\.*\\Traits\\.* |
39 | 38 |
|
40 | 39 | - name: UIException |
41 | 40 | collectors: |
42 | | - - type: className |
43 | | - regex: ^Illuminate\\Database\\Eloquent\\ModelNotFoundException$ |
44 | | - - type: className |
45 | | - regex: ^Bavix\\Wallet\\Exceptions\\.* |
| 41 | + - type: classLike |
| 42 | + value: ^Illuminate\\Database\\Eloquent\\ModelNotFoundException$ |
| 43 | + - type: classLike |
| 44 | + value: ^Bavix\\Wallet\\Exceptions\\.* |
46 | 45 |
|
47 | 46 | # internal |
48 | 47 | - name: InternalException |
49 | 48 | collectors: |
50 | | - - type: className |
51 | | - regex: ^Bavix\\.*\\Internal\\Exceptions\\.* |
| 49 | + - type: classLike |
| 50 | + value: ^Bavix\\.*\\Internal\\Exceptions\\.* |
52 | 51 |
|
53 | 52 | - name: InternalListener |
54 | 53 | collectors: |
55 | | - - type: className |
56 | | - regex: ^Bavix\\.*\\Internal\\Listeners\\.* |
| 54 | + - type: classLike |
| 55 | + value: ^Bavix\\.*\\Internal\\Listeners\\.* |
57 | 56 |
|
58 | 57 | - name: Event |
59 | 58 | collectors: |
60 | | - - type: className |
61 | | - regex: ^Bavix\\.*\\Internal\\Events\\.*Event$ |
| 59 | + - type: classLike |
| 60 | + value: ^Bavix\\.*\\Internal\\Events\\.*Event$ |
62 | 61 |
|
63 | 62 | - name: EventInterface |
64 | 63 | collectors: |
65 | | - - type: className |
66 | | - regex: ^Bavix\\.*\\Internal\\Events\\.*EventInterface$ |
| 64 | + - type: classLike |
| 65 | + value: ^Bavix\\.*\\Internal\\Events\\.*EventInterface$ |
67 | 66 |
|
68 | 67 | - name: Dto |
69 | 68 | collectors: |
70 | | - - type: className |
71 | | - regex: ^Bavix\\.*\\Internal\\Dto\\.*Dto$ |
| 69 | + - type: classLike |
| 70 | + value: ^Bavix\\.*\\Internal\\Dto\\.*Dto$ |
72 | 71 |
|
73 | 72 | - name: DtoInterface |
74 | 73 | collectors: |
75 | | - - type: className |
76 | | - regex: ^Bavix\\.*\\Internal\\Dto\\.*DtoInterface$ |
| 74 | + - type: classLike |
| 75 | + value: ^Bavix\\.*\\Internal\\Dto\\.*DtoInterface$ |
77 | 76 |
|
78 | 77 | - name: AssemblerDto |
79 | 78 | collectors: |
80 | | - - type: className |
81 | | - regex: ^Bavix\\.*\\Internal\\Assembler\\.*DtoAssembler$ |
| 79 | + - type: classLike |
| 80 | + value: ^Bavix\\.*\\Internal\\Assembler\\.*DtoAssembler$ |
82 | 81 |
|
83 | 82 | - name: AssemblerDtoInterface |
84 | 83 | collectors: |
85 | | - - type: className |
86 | | - regex: ^Bavix\\.*\\Internal\\Assembler\\.*DtoAssemblerInterface$ |
| 84 | + - type: classLike |
| 85 | + value: ^Bavix\\.*\\Internal\\Assembler\\.*DtoAssemblerInterface$ |
87 | 86 |
|
88 | 87 | - name: QueryInterface |
89 | 88 | collectors: |
90 | | - - type: className |
91 | | - regex: ^Bavix\\.*Internal\\Query\\.*QueryInterface$ |
| 89 | + - type: classLike |
| 90 | + value: ^Bavix\\.*Internal\\Query\\.*QueryInterface$ |
92 | 91 |
|
93 | 92 | - name: Query |
94 | 93 | collectors: |
95 | | - - type: className |
96 | | - regex: ^Bavix\\.*Internal\\Query\\.*Query$ |
| 94 | + - type: classLike |
| 95 | + value: ^Bavix\\.*Internal\\Query\\.*Query$ |
97 | 96 |
|
98 | 97 | - name: RepositoryInterface |
99 | 98 | collectors: |
100 | | - - type: className |
101 | | - regex: ^Bavix\\.*Internal\\Repository\\.*RepositoryInterface$ |
| 99 | + - type: classLike |
| 100 | + value: ^Bavix\\.*Internal\\Repository\\.*RepositoryInterface$ |
102 | 101 |
|
103 | 102 | - name: Repository |
104 | 103 | collectors: |
105 | | - - type: className |
106 | | - regex: ^Bavix\\.*Internal\\Repository\\.*Repository$ |
| 104 | + - type: classLike |
| 105 | + value: ^Bavix\\.*Internal\\Repository\\.*Repository$ |
107 | 106 |
|
108 | 107 | - name: Transform |
109 | 108 | collectors: |
110 | | - - type: className |
111 | | - regex: ^Bavix\\.*Internal\\Transform\\.*DtoTransformer$ |
| 109 | + - type: classLike |
| 110 | + value: ^Bavix\\.*Internal\\Transform\\.*DtoTransformer$ |
112 | 111 |
|
113 | 112 | - name: TransformInterface |
114 | 113 | collectors: |
115 | | - - type: className |
116 | | - regex: ^Bavix\\.*Internal\\Transform\\.*DtoTransformerInterface$ |
| 114 | + - type: classLike |
| 115 | + value: ^Bavix\\.*Internal\\Transform\\.*DtoTransformerInterface$ |
117 | 116 |
|
118 | 117 | - name: Infra |
119 | 118 | collectors: |
120 | | - - type: className |
121 | | - regex: ^Bavix\\.*Internal\\Service\\.*Service$ |
| 119 | + - type: classLike |
| 120 | + value: ^Bavix\\.*Internal\\Service\\.*Service$ |
122 | 121 |
|
123 | 122 | - name: ServiceDecorator |
124 | 123 | collectors: |
125 | | - - type: className |
126 | | - regex: ^Bavix\\.*Decorator\\.*Decorator |
| 124 | + - type: classLike |
| 125 | + value: ^Bavix\\.*Decorator\\.*Decorator |
127 | 126 |
|
128 | 127 | # contracts |
129 | 128 | - name: Model |
130 | 129 | collectors: |
131 | | - - type: className |
132 | | - regex: ^Bavix\\.*Models\\Transaction$ |
133 | | - - type: className |
134 | | - regex: ^Bavix\\.*Models\\Transfer$ |
135 | | - - type: className |
136 | | - regex: ^Bavix\\.*Models\\Wallet$ |
| 130 | + - type: classLike |
| 131 | + value: ^Bavix\\.*Models\\Transaction$ |
| 132 | + - type: classLike |
| 133 | + value: ^Bavix\\.*Models\\Transfer$ |
| 134 | + - type: classLike |
| 135 | + value: ^Bavix\\.*Models\\Wallet$ |
137 | 136 |
|
138 | 137 | - name: Service |
139 | 138 | collectors: |
140 | | - - type: className |
141 | | - regex: ^Bavix\\.*Services\\.*Service$ |
| 139 | + - type: classLike |
| 140 | + value: ^Bavix\\.*Services\\.*Service$ |
142 | 141 |
|
143 | 142 | - name: ServiceInterface |
144 | 143 | collectors: |
145 | | - - type: className |
146 | | - regex: ^Bavix\\.*Service\\.*ServiceInterface$ |
147 | | - - type: className |
148 | | - regex: ^Bavix\\.*Services\\.*ServiceInterface$ |
| 144 | + - type: classLike |
| 145 | + value: ^Bavix\\.*Service\\.*ServiceInterface$ |
| 146 | + - type: classLike |
| 147 | + value: ^Bavix\\.*Services\\.*ServiceInterface$ |
149 | 148 |
|
150 | 149 | # framework |
151 | 150 | - name: EloquentModel |
152 | 151 | collectors: |
153 | | - - type: className |
154 | | - regex: ^Illuminate\\Database\\Eloquent\\Model$ |
| 152 | + - type: classLike |
| 153 | + value: ^Illuminate\\Database\\Eloquent\\Model$ |
155 | 154 |
|
156 | 155 | - name: Config |
157 | 156 | collectors: |
158 | | - - type: className |
159 | | - regex: ^Illuminate\\Config\\Repository$ |
| 157 | + - type: classLike |
| 158 | + value: ^Illuminate\\Config\\Repository$ |
160 | 159 |
|
161 | 160 | - name: Cache |
162 | 161 | collectors: |
163 | | - - type: className |
164 | | - regex: ^Illuminate\\Contracts\\Cache\\Repository$ |
| 162 | + - type: classLike |
| 163 | + value: ^Illuminate\\Contracts\\Cache\\Repository$ |
165 | 164 |
|
166 | 165 | ruleset: |
167 | 166 | Contract: |
168 | 167 | - InternalException |
169 | 168 | - DtoInterface |
170 | 169 | - UIException |
171 | 170 | - Model |
| 171 | + - EloquentModel |
172 | 172 |
|
173 | 173 | ApiQuery: |
174 | 174 | - Api |
@@ -196,6 +196,7 @@ parameters: |
196 | 196 | - UIException |
197 | 197 | - Contract |
198 | 198 | - Model |
| 199 | + - EloquentModel |
199 | 200 | - Legacy # delete as soon as possible |
200 | 201 |
|
201 | 202 | UIException: |
|
0 commit comments