Issue Task Closed

#81868Do not force optimize-autoloader in composer.json

Armin Vieweg 07/14/17, 17:44 updated 10/02/18, 10:58

Description

This option (in config section) forced composer to create
optimized autoloader.

This improves speed but has three disadvantages:
- creating optimized autoloader may take much longer time
- new namespaces (folders) during development require a
further `composer dump`
- no possibility existing to deactivate optimized autoloader
from CLI, once it’s set in composer.json config section

After this patch is applied, deployment servers need to call
composer install with -o flag, in order to enable optimized
autoloader.

Reviews 1