-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
composer-include-files dependency breaks autoload-dev files #66
Comments
Recently I got prompts from composer (while doing composer update I think) to allow such plugins, maybe this is related? I had to add it to "config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"0.0.0/composer-include-files": true
}
}, Edit: |
Yep I was prompted to add to FWIW this package still works fine, just that we lose the ability to generated localized routes with |
Using my home made solution for this now, it should be fixed in the 3.0 release. 🎉 |
Kind of surprised the only reference to this I can is here: funkjedi/composer-include-files#7
Given this composer.json:
The
tests/macros.php
file has stopped autoloading after installing this package and the0.0.0/composer-include-files
dependency.I understand this is not an issue with this package per se, just wondering whether anyone is aware of a workaround? Seems like something that would break plenty of Laravel app test suites where files are autoloaded.
I made an attempt at debugging the composer plugin but hit a brick wall as I have close to zero knowledge of how composer plugins actually work, and the plugin appears to be based on something copy and pasted from composer v1.
The text was updated successfully, but these errors were encountered: