[BUGFIX] Allow array of paths in psr-4 autoload definition 36/49336/2
authorHelmut Hummel <info@helhum.io>
Tue, 2 Aug 2016 19:28:56 +0000 (21:28 +0200)
committerHelmut Hummel <typo3@helhum.io>
Tue, 2 Aug 2016 21:09:19 +0000 (23:09 +0200)
commit4216473d224272ea21fd69bac3298686cf72a504
treed5a65938e57c83f7f527820e9497683ce005216b
parent537ab905d0cce331a06e8f5da7b381f3b94122e8
[BUGFIX] Allow array of paths in psr-4 autoload definition

When defining a namespace prefix for psr-4 autoload in composer.json,
it is possible to specify multiple paths as array.

Thus, we must handle the array case properly and not falsely assume
that there is only a path string.

Resolves: #77365
Releases: 7.6, master
Change-Id: If96f4ce9eb3f4466e8cc620025b1848681b56011
Reviewed-on: https://review.typo3.org/49336
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
typo3/sysext/core/Classes/Core/ClassLoadingInformationGenerator.php
typo3/sysext/core/Tests/Unit/Core/ClassLoadingInformationGeneratorTest.php