[BUGFIX] Add only required classes and class aliases 60/36460/6
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 30 Jan 2015 17:47:56 +0000 (18:47 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sat, 31 Jan 2015 15:22:23 +0000 (16:22 +0100)
commitb2a9aeecd393a6a6f3fdb772bde8fff6e9f53582
treef28adf2949132f6fb8613372647f1e7acaa511dd
parent3e62b91bbe9c8b1256f534c13f59a85aa4f269fb
[BUGFIX] Add only required classes and class aliases

The static class and alias map now only contains a class map
and an alias map for required extensions.

This means that the traditional class loader will kick in for other
activated extensions.

Optionally it is possible to provide additional class and alias maps
in a distribution composer.json, this will however only work
if the TYPO3_COMPOSER_AUTOLOAD environment variable is set.

The latter is a precaution to not break backwards compatibility.

Releases: master, 6.2
Resolves: #64376
Change-Id: I4fd2202abad345c29bcb2b05d3702bdeef9e4474
Reviewed-on: http://review.typo3.org/36460
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
composer.json
typo3/contrib/vendor/autoload.php
typo3/contrib/vendor/composer/autoload_classaliasmap.php [new file with mode: 0644]
typo3/contrib/vendor/composer/autoload_classmap.php
typo3/contrib/vendor/composer/autoload_psr4.php
typo3/contrib/vendor/composer/autoload_real.php
typo3/contrib/vendor/helhum/class-alias-loader/Classes/Composer/ClassAliasGenerator.php [new file with mode: 0644]
typo3/contrib/vendor/helhum/class-alias-loader/Classes/Composer/ClassAliasLoader.php [new file with mode: 0644]
typo3/contrib/vendor/helhum/class-alias-loader/LICENSE [new file with mode: 0644]
typo3/contrib/vendor/helhum/class-alias-loader/composer.json [new file with mode: 0644]
typo3/sysext/core/Classes/Core/ClassAliasMap.php