Skip to content

Commit f6cf77d

Browse files
author
Ryuta Hamasaki
committed
fix collector regex
1 parent 2a276a2 commit f6cf77d

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

deptrac.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ parameters:
99
regex: App\\.*
1010
- name: Contract
1111
collectors:
12-
- type: directory
13-
regex: src/[^/]*/Contracts/.*
12+
- type: className
13+
regex: Laracon\\[^\\]*\\Contracts\\.*
1414
- name: Laravel
1515
collectors:
1616
- type: className

src/Inventory/deptrac.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ parameters:
77
- type: bool
88
must:
99
- type: className
10-
regex: Inventory\\.*
10+
regex: Laracon\\Inventory\\.*
1111
must_not:
1212
- type: className
13-
regex: Inventory\\Contracts\\.*
13+
regex: Laracon\\Inventory\\Contracts\\.*
1414
- name: App
1515
collectors:
1616
- type: className
1717
regex: App\\.*
1818
- name: Contract
1919
collectors:
20-
- type: directory
21-
regex: src/[^/]*/Contracts/.*
20+
- type: className
21+
regex: Laracon\\[^\\]*\\Contracts\\.*
2222
- name: Laravel
2323
collectors:
2424
- type: className

src/Order/deptrac.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ parameters:
77
- type: bool
88
must:
99
- type: className
10-
regex: Order\\.*
10+
regex: Laracon\\Order\\.*
1111
must_not:
1212
- type: className
13-
regex: Order\\Contracts\\.*
13+
regex: Laracon\\Order\\Contracts\\.*
1414
- name: App
1515
collectors:
1616
- type: className
1717
regex: App\\.*
1818
- name: Contract
1919
collectors:
20-
- type: directory
21-
regex: src/[^/]*/Contracts/.*
20+
- type: className
21+
regex: Laracon\\[^\\]*\\Contracts\\.*
2222
- name: Laravel
2323
collectors:
2424
- type: className

src/Payment/deptrac.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ parameters:
77
- type: bool
88
must:
99
- type: className
10-
regex: Payment\\.*
10+
regex: Laracon\\Payment\\.*
1111
must_not:
1212
- type: className
13-
regex: Payment\\Contracts\\.*
13+
regex: Laracon\\Payment\\Contracts\\.*
1414
- name: App
1515
collectors:
1616
- type: className
1717
regex: App\\.*
1818
- name: Contract
1919
collectors:
20-
- type: directory
21-
regex: src/[^/]*/Contracts/.*
20+
- type: className
21+
regex: Laracon\\[^\\]*\\Contracts\\.*
2222
- name: Laravel
2323
collectors:
2424
- type: className

src/Shipping/deptrac.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ parameters:
77
- type: bool
88
must:
99
- type: className
10-
regex: Shipping\\.*
10+
regex: Laracon\\Shipping\\.*
1111
must_not:
1212
- type: className
13-
regex: Shipping\\Contracts\\.*
13+
regex: Laracon\\Shipping\\Contracts\\.*
1414
- name: App
1515
collectors:
1616
- type: className
1717
regex: App\\.*
1818
- name: Contract
1919
collectors:
20-
- type: directory
21-
regex: src/[^/]*/Contracts/.*
20+
- type: className
21+
regex: Laracon\\[^\\]*\\Contracts\\.*
2222
- name: Laravel
2323
collectors:
2424
- type: className

0 commit comments

Comments
 (0)