[!!!][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>
Showing
- composer.json 9 additions, 42 deletionscomposer.json
- typo3/contrib/vendor/autoload.php 16 additions, 1 deletiontypo3/contrib/vendor/autoload.php
- typo3/contrib/vendor/composer/autoload_classaliasmap.php 14 additions, 0 deletionstypo3/contrib/vendor/composer/autoload_classaliasmap.php
- typo3/contrib/vendor/composer/autoload_classmap.php 19 additions, 557 deletionstypo3/contrib/vendor/composer/autoload_classmap.php
- typo3/contrib/vendor/composer/autoload_psr4.php 1 addition, 40 deletionstypo3/contrib/vendor/composer/autoload_psr4.php
- typo3/contrib/vendor/composer/autoload_real.php 4 additions, 4 deletionstypo3/contrib/vendor/composer/autoload_real.php
- typo3/contrib/vendor/helhum/class-alias-loader/Classes/Composer/ClassAliasGenerator.php 142 additions, 0 deletions...ass-alias-loader/Classes/Composer/ClassAliasGenerator.php
- typo3/contrib/vendor/helhum/class-alias-loader/Classes/Composer/ClassAliasLoader.php 145 additions, 0 deletions.../class-alias-loader/Classes/Composer/ClassAliasLoader.php
- typo3/contrib/vendor/helhum/class-alias-loader/LICENSE 19 additions, 0 deletionstypo3/contrib/vendor/helhum/class-alias-loader/LICENSE
- typo3/contrib/vendor/helhum/class-alias-loader/composer.json 23 additions, 0 deletionstypo3/contrib/vendor/helhum/class-alias-loader/composer.json
- typo3/sysext/core/Classes/Core/Bootstrap.php 45 additions, 15 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/Core/ClassAliasMap.php 46 additions, 1 deletiontypo3/sysext/core/Classes/Core/ClassAliasMap.php
- typo3/sysext/core/Classes/Package/PackageManager.php 1 addition, 0 deletionstypo3/sysext/core/Classes/Package/PackageManager.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-64361-ComposerClassLoading.rst 47 additions, 0 deletions.../Changelog/master/Breaking-64361-ComposerClassLoading.rst
- typo3/sysext/core/ext_localconf.php 20 additions, 0 deletionstypo3/sysext/core/ext_localconf.php
- typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php 10 additions, 0 deletions...ysext/extensionmanager/Classes/Utility/InstallUtility.php
Please register or sign in to comment