[BUGFIX] Ignore missing folders from psr-4 definitions 07/54207/6
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 13:51:21 +0000 (15:51 +0200)
commit08cc3232c2aa9c11805dde60ae2f43aa316710d2
tree6b7bb23a9029a3693b2a959c7adacb1d5d647c38
parent8198f45678df31acd62c55f2af95355d649bc3c1
[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/54207
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Core/ClassLoadingInformationGenerator.php