Project

General

Profile

Actions

Task #81868

closed

Do not force optimize-autoloader in composer.json

Added by Armin Vieweg over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-07-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

Actions

Also available in: Atom PDF