@@ -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 :
15- - type : directory
16- regex : vendor/.*
15+ - type : directory
16+ value : vendor/.*
1717 - name : Vendor Model
1818 collectors :
1919 - type : bool
2020 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/.*
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 :
32- - type : directory
33- regex : vendor/.*
32+ - type : directory
33+ value : vendor/.*
3434 - name : Vendor Controller
3535 collectors :
3636 - type : bool
3737 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/.*
4242 - name : Config
4343 collectors :
4444 - type : bool
4545 must :
46- - type : directory
47- regex : app/Config/.*
46+ - type : directory
47+ value : app/Config/.*
4848 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/.*
5353 - name : Vendor Config
5454 collectors :
5555 - type : bool
5656 must :
57- - type : directory
58- regex : vendor/.*/Config/.*
57+ - type : directory
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 :
66- - type : directory
67- regex : app/Entities/.*
66+ - type : directory
67+ value : app/Entities/.*
6868 must_not :
69- - type : directory
70- regex : vendor/.*
69+ - type : directory
70+ value : vendor/.*
7171 - name : Vendor Entity
7272 collectors :
7373 - type : bool
7474 must :
75- - type : directory
76- regex : vendor/.*/Entities/.*
75+ - type : directory
76+ value : vendor/.*/Entities/.*
7777 - name : View
7878 collectors :
7979 - type : bool
8080 must :
81- - type : directory
82- regex : app/Views/.*
81+ - type : directory
82+ value : app/Views/.*
8383 must_not :
84- - type : directory
85- regex : vendor/.*
84+ - type : directory
85+ value : vendor/.*
8686 - name : Vendor View
8787 collectors :
8888 - type : bool
8989 must :
90- - type : directory
91- regex : vendor/.*/Views/.*
90+ - type : directory
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