mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-23 16:22:19 +01:00
Add qossmic/deptrac recipe (#1625)
This commit is contained in:
30
qossmic/deptrac/2.0/deptrac.yaml
Normal file
30
qossmic/deptrac/2.0/deptrac.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
deptrac:
|
||||
paths:
|
||||
- ./src
|
||||
exclude_files:
|
||||
- '#.*test.*#'
|
||||
layers:
|
||||
-
|
||||
name: Controller
|
||||
collectors:
|
||||
-
|
||||
type: classLike
|
||||
value: .*Controller.*
|
||||
-
|
||||
name: Repository
|
||||
collectors:
|
||||
-
|
||||
type: classLike
|
||||
value: .*Repository.*
|
||||
-
|
||||
name: Service
|
||||
collectors:
|
||||
-
|
||||
type: classLike
|
||||
value: .*Service.*
|
||||
ruleset:
|
||||
Controller:
|
||||
- Service
|
||||
Service:
|
||||
- Repository
|
||||
Repository:
|
||||
8
qossmic/deptrac/2.0/manifest.json
Normal file
8
qossmic/deptrac/2.0/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"deptrac.yaml": "deptrac.yaml"
|
||||
},
|
||||
"gitignore": [
|
||||
"/.deptrac.cache"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user