Skip to content
Snippets Groups Projects
Commit d535b790 authored by Nicole Cordes's avatar Nicole Cordes
Browse files

[BUGFIX] Improve test class detection in ClassLoadingInformationGenerator

Currently class names ending with test or fixture suffix are excluded
from the autoload classmap generation. Unfortunately this skips valid
class names like Tx_RedirectTest_Domain_Model_Test as well. This patch
improves the decision if class name can be skipped by assuming there is
an alphabetic character in front of the suffix.

Furthermore generation of the class map is skipped if a valid psr-4
annotation is found in the package information.

Resolves: #69710
Releases: master
Change-Id: Id433294f982f39b438b10393fda2c468cd1518fd
Reviewed-on: http://review.typo3.org/43231


Reviewed-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Tested-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Tested-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: default avatarNicole Cordes <typo3@cordes.co>
Tested-by: default avatarNicole Cordes <typo3@cordes.co>
parent d5c3b27c
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