hhvm-autoload
hhvm-autoload copied to clipboard
Support providing a custom root
Our project stores PHP dependencies in vendor/composer (since we share vendor/ between JavaScript and PHP). Better handling for custom roots was introduced because of #10, but doubly-nested vendor directories still aren't supported because the root is assumed to be the parent directory of vendor-dir:
https://github.com/hhvm/hhvm-autoload/blob/2808fe06fa850532270c54155c0bdab1bf0f67da/src/ComposerPlugin.php#L37-L40
Should a config key be introduced to fix this, or would re-purposing relativeAutoloadRoot be sufficient?
a