[TASK] Do not force optimize-autoloader in composer.json 75/53475/6
authorArmin Vieweg <armin@v.ieweg.de>
Fri, 14 Jul 2017 15:26:23 +0000 (17:26 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Wed, 19 Jul 2017 06:50:04 +0000 (08:50 +0200)
commita5c31241b708698e8c0d9ab95b69d99aba0375ee
tree536c36aba2475b540a63795f3db310f7874fc0ad
parent8f4867dff868b376951d4b2a6ff8c6345453d019
[TASK] Do not force optimize-autoloader in composer.json

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

This improves speed but has some disadvantages:
- creating optimized autoloader takes longer
- no possibility exists 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.

Releases: master
Resolves: #81868
Change-Id: I45321500353d34d6b63813473262b4cc1dd2036d
Reviewed-on: https://review.typo3.org/53475
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benjamin Kluge <b.kluge@neusta.de>
Tested-by: Benjamin Kluge <b.kluge@neusta.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
composer.json
typo3/sysext/core/Documentation/Changelog/master/Important-81868-OptimizeAutoloaderIsNoLongerForcedInComposerjson.rst [new file with mode: 0644]