File tree Expand file tree Collapse file tree 2 files changed +45
-45
lines changed Expand file tree Collapse file tree 2 files changed +45
-45
lines changed Original file line number Diff line number Diff line change 7
7
paths :
8
8
- ' **.php'
9
9
- ' composer.*'
10
- - ' depfile .yaml'
10
+ - ' deptrac .yaml'
11
11
- ' .github/workflows/deptrac.yml'
12
12
push :
13
13
branches :
14
14
- develop
15
15
paths :
16
16
- ' **.php'
17
17
- ' composer.*'
18
- - ' depfile .yaml'
18
+ - ' deptrac .yaml'
19
19
- ' .github/workflows/deptrac.yml'
20
20
21
21
permissions :
70
70
71
71
- name : Trace dependencies
72
72
run : |
73
- composer require --dev qossmic /deptrac-shim
73
+ composer require --dev deptrac /deptrac
74
74
vendor/bin/deptrac analyze --cache-file=build/deptrac.cache
Original file line number Diff line number Diff line change 1
- parameters :
1
+ deptrac :
2
2
paths :
3
3
- ./src/
4
4
- ./vendor/codeigniter4/framework/system/
@@ -9,90 +9,90 @@ parameters:
9
9
collectors :
10
10
- type : bool
11
11
must :
12
- - type : className
13
- regex : .*[A-Za-z]+Model$
12
+ - type : class
13
+ value : .*[A-Za-z]+Model$
14
14
must_not :
15
- - type : directory
16
- regex : vendor/.*
15
+ - type : directory
16
+ value : vendor/.*
17
17
- name : Vendor Model
18
18
collectors :
19
19
- type : bool
20
20
must :
21
- - type : className
22
- regex : .*[A-Za-z]+Model$
23
- - type : directory
24
- regex : vendor/.*
21
+ - type : class
22
+ value : .*[A-Za-z]+Model$
23
+ - type : directory
24
+ value : vendor/.*
25
25
- name : Controller
26
26
collectors :
27
27
- type : bool
28
28
must :
29
- - type : className
30
- regex : .*\/Controllers\/.*
29
+ - type : class
30
+ value : .*\/Controllers\/.*
31
31
must_not :
32
- - type : directory
33
- regex : vendor/.*
32
+ - type : directory
33
+ value : vendor/.*
34
34
- name : Vendor Controller
35
35
collectors :
36
36
- type : bool
37
37
must :
38
- - type : className
39
- regex : .*\/Controllers\/.*
40
- - type : directory
41
- regex : vendor/.*
38
+ - type : class
39
+ value : .*\/Controllers\/.*
40
+ - type : directory
41
+ value : vendor/.*
42
42
- name : Config
43
43
collectors :
44
44
- type : bool
45
45
must :
46
- - type : directory
47
- regex : app/Config/.*
46
+ - type : directory
47
+ value : app/Config/.*
48
48
must_not :
49
- - type : className
50
- regex : .*Services
51
- - type : directory
52
- regex : vendor/.*
49
+ - type : class
50
+ value : .*Services
51
+ - type : directory
52
+ value : vendor/.*
53
53
- name : Vendor Config
54
54
collectors :
55
55
- type : bool
56
56
must :
57
- - type : directory
58
- regex : vendor/.*/Config/.*
57
+ - type : directory
58
+ value : vendor/.*/Config/.*
59
59
must_not :
60
- - type : className
61
- regex : .*Services
60
+ - type : class
61
+ value : .*Services
62
62
- name : Entity
63
63
collectors :
64
64
- type : bool
65
65
must :
66
- - type : directory
67
- regex : app/Entities/.*
66
+ - type : directory
67
+ value : app/Entities/.*
68
68
must_not :
69
- - type : directory
70
- regex : vendor/.*
69
+ - type : directory
70
+ value : vendor/.*
71
71
- name : Vendor Entity
72
72
collectors :
73
73
- type : bool
74
74
must :
75
- - type : directory
76
- regex : vendor/.*/Entities/.*
75
+ - type : directory
76
+ value : vendor/.*/Entities/.*
77
77
- name : View
78
78
collectors :
79
79
- type : bool
80
80
must :
81
- - type : directory
82
- regex : app/Views/.*
81
+ - type : directory
82
+ value : app/Views/.*
83
83
must_not :
84
- - type : directory
85
- regex : vendor/.*
84
+ - type : directory
85
+ value : vendor/.*
86
86
- name : Vendor View
87
87
collectors :
88
88
- type : bool
89
89
must :
90
- - type : directory
91
- regex : vendor/.*/Views/.*
90
+ - type : directory
91
+ value : vendor/.*/Views/.*
92
92
- name : Service
93
93
collectors :
94
- - type : className
95
- regex : .*Services.*
94
+ - type : class
95
+ value : .*Services.*
96
96
ruleset :
97
97
Entity :
98
98
- Config
@@ -153,4 +153,4 @@ parameters:
153
153
- Vendor Entity
154
154
- Vendor Model
155
155
- Vendor View
156
- skip_violations :
156
+ skip_violations : []
You can’t perform that action at this time.
0 commit comments