Skip to content

Commit 36cc9c4

Browse files
committed
Autoload tests only for dev
This will prevent people that require the library in composer getting the tests in their optimised composer classmap.
1 parent 22031ae commit 36cc9c4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

composer.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
],
1414
"autoload": {
1515
"psr-0": {
16-
"OpenCloud": ["lib/", "tests/"]
16+
"OpenCloud": ["lib/"]
17+
}
18+
},
19+
"autoload-dev": {
20+
"psr-0": {
21+
"OpenCloud": ["tests/"]
1722
}
1823
},
1924
"require": {

0 commit comments

Comments
 (0)