composer config-build breaks autoloading
Closed this issue · 4 comments
graste commented
After running composer config-build
I can't run composer test
successfully as the autoloading doesn't work then. This autoloading error seems to happen always after running config-build
. I suspect the ConfigurationHandler::makeAutoload()
method might be the problem, but didn't investigate further.
MrHash commented
I think I came across a bug previously which had a similar problem. Could you check that this is not the cause?
graste commented
Will have a look, but I think my dependencies were up-to-date.
graste commented
MrHash suggested to change the ConfigurationHandler
method to https://gist.github.com/MrHash/c82f11e51d51bb34cf45 – seems to work in my working copy as it fixes the problem.