Skip to content

post-install step does not rebuild optimized composer autoloader #41

@legoktm

Description

@legoktm

composer.json:

{ "require": { "wikimedia/composer-merge-plugin": "1.2.0", "psr/log": "1.0.0" }, "config": { "classmap-authoritative": true, "prepend-autoloader": false, "optimize-autoloader": true }, "extra": { "merge-plugin": { "include": [ "composer.local.json" ] } } } 

composer.local.json

{ "require": { "zordius/lightncandy": "0.21" } } 

Run composer install. Look at vendor/composer/autoload_classmap.php and see that the Psr\Log* entries are not there. This becomes an issue when the "classmap-authoritative" option is used because it does not fallback to the psr0 or psr4 autoloader.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions