Skip to content

Commit 004362b

Browse files
authored
Merge pull request #139 from michalsn/deptrack-template
update `deptrac.yml` template
2 parents 78b517f + 11f94ad commit 004362b

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

src/Template/deptrac.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,90 +9,90 @@ parameters:
99
collectors:
1010
- type: bool
1111
must:
12-
- type: className
13-
regex: .*[A-Za-z]+Model$
12+
- type: class
13+
value: .*[A-Za-z]+Model$
1414
must_not:
1515
- type: directory
16-
regex: vendor/.*
16+
value: vendor/.*
1717
- name: Vendor Model
1818
collectors:
1919
- type: bool
2020
must:
21-
- type: className
22-
regex: .*[A-Za-z]+Model$
21+
- type: class
22+
value: .*[A-Za-z]+Model$
2323
- type: directory
24-
regex: vendor/.*
24+
value: vendor/.*
2525
- name: Controller
2626
collectors:
2727
- type: bool
2828
must:
29-
- type: className
30-
regex: .*\/Controllers\/.*
29+
- type: class
30+
value: .*\/Controllers\/.*
3131
must_not:
3232
- type: directory
33-
regex: vendor/.*
33+
value: vendor/.*
3434
- name: Vendor Controller
3535
collectors:
3636
- type: bool
3737
must:
38-
- type: className
39-
regex: .*\/Controllers\/.*
38+
- type: class
39+
value: .*\/Controllers\/.*
4040
- type: directory
41-
regex: vendor/.*
41+
value: vendor/.*
4242
- name: Config
4343
collectors:
4444
- type: bool
4545
must:
4646
- type: directory
47-
regex: app/Config/.*
47+
value: app/Config/.*
4848
must_not:
49-
- type: className
50-
regex: .*Services
49+
- type: class
50+
value: .*Services
5151
- type: directory
52-
regex: vendor/.*
52+
value: vendor/.*
5353
- name: Vendor Config
5454
collectors:
5555
- type: bool
5656
must:
5757
- type: directory
58-
regex: vendor/.*/Config/.*
58+
value: vendor/.*/Config/.*
5959
must_not:
60-
- type: className
61-
regex: .*Services
60+
- type: class
61+
value: .*Services
6262
- name: Entity
6363
collectors:
6464
- type: bool
6565
must:
6666
- type: directory
67-
regex: app/Entities/.*
67+
value: app/Entities/.*
6868
must_not:
6969
- type: directory
70-
regex: vendor/.*
70+
value: vendor/.*
7171
- name: Vendor Entity
7272
collectors:
7373
- type: bool
7474
must:
7575
- type: directory
76-
regex: vendor/.*/Entities/.*
76+
value: vendor/.*/Entities/.*
7777
- name: View
7878
collectors:
7979
- type: bool
8080
must:
8181
- type: directory
82-
regex: app/Views/.*
82+
value: app/Views/.*
8383
must_not:
8484
- type: directory
85-
regex: vendor/.*
85+
value: vendor/.*
8686
- name: Vendor View
8787
collectors:
8888
- type: bool
8989
must:
9090
- type: directory
91-
regex: vendor/.*/Views/.*
91+
value: vendor/.*/Views/.*
9292
- name: Service
9393
collectors:
94-
- type: className
95-
regex: .*Services.*
94+
- type: class
95+
value: .*Services.*
9696
ruleset:
9797
Entity:
9898
- Config

0 commit comments

Comments
 (0)