Closed svenmuennich closed 5 years ago
This behaviour is caused by a change in composer v1.5.0: composer/composer@bf940fb21b0dcc830e8c8430a3cc9d7f3ac607c0
Please also see my comment in composer/composer#6397
This has been fixed in version 1.5.0
of composer :)
For some time now we repeatedly ran into an issue with the composer autoloader. When running
composer install -o
(-o
=--optimize-autoloader
), composer includes the files of all installed plugins, even though they are excluded from the autoloader in thecomposer.json
:https://github.com/shopware/shopware/blob/8efbe6a850a9ca72701efd24d56aaa10408f9192/composer.json#L100-L104
We should investigate what causes this behaviour. My guess is, that it's a bug that was introduced in a recent composer version, since Shopware hasn't changed the respective part of their
composer.json
in a while.