Skip to content

Commit 9ce5444

Browse files
committed
fix(composer): map DDTrace\\OpenFeature\\ namespace to src/DDTrace/OpenFeature/
Composer PSR-4 autoload only mapped DDTrace\\ to src/api/, so tests and host code that reference DDTrace\\OpenFeature\\BridgeResultMapper etc failed to autoload. Add explicit DDTrace\\OpenFeature\\ mapping before the catch-all DDTrace\\ entry so PSR-4 resolution hits it first. Verified: vendor/bin/phpunit tests/OpenFeature passes 143/143.
1 parent 564c881 commit 9ce5444

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
},
4747
"autoload": {
4848
"psr-4": {
49+
"DDTrace\\OpenFeature\\": "./src/DDTrace/OpenFeature/",
4950
"DDTrace\\": "./src/api/"
5051
}
5152
},

0 commit comments

Comments
 (0)