[BUGFIX] Ignore missing folders from psr-4 definitions 24/54224/2
authorHelmut Hummel <typo3@helhum.io>
Fri, 22 Sep 2017 12:16:49 +0000 (14:16 +0200)
committerNicole Cordes <typo3@cordes.co>
Wed, 27 Sep 2017 14:10:48 +0000 (16:10 +0200)
commit84da9fd5f48bef5d2ed7877a179ad0d62144ac62
tree1bc99b18496cfcbd0bfb575789b364b6f8dfe717
parent0d434d568b8b850cdcd48c2b033373ce6ced4df3
[BUGFIX] Ignore missing folders from psr-4 definitions

Even when generating an optimized class map for psr-4
classes, Composer gracefully ignores folders defined
in psr-4 autoload section, if they do not exist.

TYPO3 however fails with an exception.

Also change the logic to always generate a class map
for improved class loading performance. This happened
anyway already when calling the autoload generation twice.

Resolves: #82542
Releases: master, 8.7
Change-Id: I4c3ab8ff7affeba25313d93e40e35f78bb78492d
Reviewed-on: https://review.typo3.org/54224
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Core/ClassLoadingInformationGenerator.php