[!!!][BUGFIX] Add only required classes and class aliases 44/36644/5
authorHelmut Hummel <helmut.hummel@typo3.org>
Mon, 2 Feb 2015 21:03:35 +0000 (22:03 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Fri, 6 Feb 2015 08:09:58 +0000 (09:09 +0100)
commit0dc52349a9f0970a17a75c582d4905dbb830b560
tree33667d614a789b991b6240a1f8b10c27e4f5e692
parent23ed0506e06bb5c613a680d56a478beb66d740b9
[!!!][BUGFIX] Add only required classes and class aliases

Additionally we enable the composer class loading by default
if the according autoload.php file is found in Packages/Libraries/

To be able to detect the compatibility extension being installed
which brings class aliases for classes spread over other system extensions,
we need to add functionality that puts the class aliases to typo3conf/
when an extension is activated or deactivated.

This deviates from the approach in 6.2 branch and most likely will vanish
again later once we require composer installation

If the class alias file is present, the aliases will be added to the composer
class loader during TYPO3 bootstrap.

Releases: master, 6.2
Resolves: #64376
Change-Id: I4fd2202abad345c29bcb2b05d3702bdeef9e4474
Reviewed-on: http://review.typo3.org/36644
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
16 files changed:
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/Bootstrap.php
typo3/sysext/core/Classes/Core/ClassAliasMap.php
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-64361-ComposerClassLoading.rst [new file with mode: 0644]
typo3/sysext/core/ext_localconf.php
typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php