Skip to content
Snippets Groups Projects
Commit 3522a11e authored by Helmut Hummel's avatar Helmut Hummel Committed by Wouter Wolters
Browse files

[BUGFIX] Harden fallback class map generation

It could happen when an extension does not provide any
autoload definition, that valid classes are not or
invalid classes are taken into account during class map generation.

To fix this, update to latest composer code that supports
a blacklist for class map generation and provide tests
folder and ext_update files as valid black list.

Also add "Resources" and "res" folder to black list, which
very often also contain php classes, which are then manually required.

Also fix, streamline and add tests to verify this behavior.

Resolves: #72557
Releases: 7.6, master
Change-Id: I0b949fea8b23edbf9c8b92a4ff87218a66bd0918
Reviewed-on: https://review.typo3.org/45603


Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 8dab8359
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment