Skip to content

Commit 65ebd4f

Browse files
committed
refactor: change qossmic/deptrac-shim has abanddoned
refactor: replace className to classLike refactor: change to classNameRegex Update deptrac.yaml Update deptrac.yaml Update deptrac.yaml
1 parent e6491a3 commit 65ebd4f

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

.github/workflows/test-deptrac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080

8181
- name: Run architectural inspection
8282
run: |
83-
composer require --dev qossmic/deptrac-shim
83+
composer require --dev deptrac/deptrac
8484
vendor/bin/deptrac analyze --cache-file=build/deptrac.cache
8585
env:
8686
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

deptrac.yaml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# - Exception
99
# - Service
1010
# - Validation\FormatRules
11-
parameters:
11+
deptrac:
1212
paths:
1313
- ./app
1414
- ./system
@@ -17,147 +17,147 @@ parameters:
1717
layers:
1818
- name: API
1919
collectors:
20-
- type: className
20+
- type: classNameRegex
2121
regex: ^Codeigniter\\API\\.*
2222
- name: Cache
2323
collectors:
24-
- type: className
24+
- type: classNameRegex
2525
regex: ^Codeigniter\\Cache\\.*
2626
- name: Controller
2727
collectors:
28-
- type: className
28+
- type: classNameRegex
2929
regex: ^CodeIgniter\\Controller$
3030
- name: Cookie
3131
collectors:
32-
- type: className
32+
- type: classNameRegex
3333
regex: ^Codeigniter\\Cookie\\.*
3434
- name: Database
3535
collectors:
36-
- type: className
36+
- type: classNameRegex
3737
regex: ^Codeigniter\\Database\\.*
3838
- name: DataCaster
3939
collectors:
40-
- type: className
40+
- type: classNameRegex
4141
regex: ^Codeigniter\\DataCaster\\.*
4242
- name: DataConverter
4343
collectors:
44-
- type: className
44+
- type: classNameRegex
4545
regex: ^Codeigniter\\DataConverter\\.*
4646
- name: Email
4747
collectors:
48-
- type: className
48+
- type: classNameRegex
4949
regex: ^Codeigniter\\Email\\.*
5050
- name: Encryption
5151
collectors:
52-
- type: className
52+
- type: classNameRegex
5353
regex: ^Codeigniter\\Encryption\\.*
5454
- name: Entity
5555
collectors:
56-
- type: className
56+
- type: classNameRegex
5757
regex: ^Codeigniter\\Entity\\.*
5858
- name: Events
5959
collectors:
60-
- type: className
60+
- type: classNameRegex
6161
regex: ^Codeigniter\\Events\\.*
6262
- name: Files
6363
collectors:
64-
- type: className
64+
- type: classNameRegex
6565
regex: ^Codeigniter\\Files\\.*
6666
- name: Filters
6767
collectors:
6868
- type: bool
6969
must:
70-
- type: className
70+
- type: classNameRegex
7171
regex: ^Codeigniter\\Filters\\Filter.*
7272
- name: Format
7373
collectors:
74-
- type: className
74+
- type: classNameRegex
7575
regex: ^Codeigniter\\Format\\.*
7676
- name: Honeypot
7777
collectors:
78-
- type: className
78+
- type: classNameRegex
7979
regex: ^Codeigniter\\.*Honeypot.* # includes the Filter
8080
- name: HTTP
8181
collectors:
8282
- type: bool
8383
must:
84-
- type: className
84+
- type: classNameRegex
8585
regex: ^Codeigniter\\HTTP\\.*
8686
must_not:
87-
- type: className
87+
- type: classNameRegex
8888
regex: (Exception|URI)
8989
- name: I18n
9090
collectors:
91-
- type: className
91+
- type: classNameRegex
9292
regex: ^Codeigniter\\I18n\\.*
9393
- name: Images
9494
collectors:
95-
- type: className
95+
- type: classNameRegex
9696
regex: ^Codeigniter\\Images\\.*
9797
- name: Language
9898
collectors:
99-
- type: className
99+
- type: classNameRegex
100100
regex: ^Codeigniter\\Language\\.*
101101
- name: Log
102102
collectors:
103-
- type: className
103+
- type: classNameRegex
104104
regex: ^Codeigniter\\Log\\.*
105105
- name: Model
106106
collectors:
107-
- type: className
107+
- type: classNameRegex
108108
regex: ^Codeigniter\\.*Model$
109109
- name: Modules
110110
collectors:
111-
- type: className
111+
- type: classNameRegex
112112
regex: ^Codeigniter\\Modules\\.*
113113
- name: Pager
114114
collectors:
115-
- type: className
115+
- type: classNameRegex
116116
regex: ^Codeigniter\\Pager\\.*
117117
- name: Publisher
118118
collectors:
119-
- type: className
119+
- type: classNameRegex
120120
regex: ^Codeigniter\\Publisher\\.*
121121
- name: RESTful
122122
collectors:
123-
- type: className
123+
- type: classNameRegex
124124
regex: ^Codeigniter\\RESTful\\.*
125125
- name: Router
126126
collectors:
127-
- type: className
127+
- type: classNameRegex
128128
regex: ^Codeigniter\\Router\\.*
129129
- name: Security
130130
collectors:
131-
- type: className
131+
- type: classNameRegex
132132
regex: ^Codeigniter\\Security\\.*
133133
- name: Session
134134
collectors:
135-
- type: className
135+
- type: classNameRegex
136136
regex: ^Codeigniter\\Session\\.*
137137
- name: Throttle
138138
collectors:
139-
- type: className
139+
- type: classNameRegex
140140
regex: ^Codeigniter\\Throttle\\.*
141141
- name: Typography
142142
collectors:
143-
- type: className
143+
- type: classNameRegex
144144
regex: ^Codeigniter\\Typography\\.*
145145
- name: URI
146146
collectors:
147-
- type: className
147+
- type: classNameRegex
148148
regex: ^CodeIgniter\\HTTP\\URI$
149149
- name: Validation
150150
collectors:
151151
- type: bool
152152
must:
153-
- type: className
153+
- type: classNameRegex
154154
regex: ^Codeigniter\\Validation\\.*
155155
must_not:
156-
- type: className
156+
- type: classNameRegex
157157
regex: ^Codeigniter\\Validation\\FormatRules$
158158
- name: View
159159
collectors:
160-
- type: className
160+
- type: classNameRegex
161161
regex: ^Codeigniter\\View\\.*
162162
ruleset:
163163
API:

0 commit comments

Comments
 (0)